Skip to content

ADFC-Hamburg/hamburg-unfalldaten

Repository files navigation

Requirements:

  • webserver with php
  • git
  • bower
  • php composer
  • Unfalldaten der Stadt Hamburg

Install

git clone https://github.com/ADFC-Hamburg/hamburg-unfalldaten

cd hamburg-unfalldaten/
npm install
grunt
cp $PATH_TO_UNFALLDATEN/RF_2014_Anonym.txt data/
cd api/
$PATH_TO_COMPOSER/composer.phar install
  • Open bootstrap.php and change the path to sql-lite to a place you like.
  • Create an empty comment sql databes with:
cd api
vendor/bin/doctrine orm:schema-tool:create
  • Configure Apache to use the adfchh-map/dist as a base directory

Update

 cd hamburg-unfalldaten/
 git pull
 cd api
 $PATH_TO_COMPOSER/composer.phar install
 vendor/bin/doctrine orm:schema-tool:update

Thanks to...