git clone https://github.com/pegelfDE/pegelcraft.de.git
cd pegelcraft.de
git submodule init
git submodule update
First of all you need a mysql server.
If this is the first time importing this database do the following:
mysql -uroot -p
Enter the following
CREATE DATABASE pegelcraft;
exit;
mysql -uroot -p pegelcraft < pegelcraft.sql
mysqldump --skip-comments -uroot -p pegelcraft > pegelcraft.sql