Calendmap is a project of merging calendar and map tools.
Please don't forget to remove your IDE files from your .gitignore global.
@work in progress
- Clone the project
git clone [email protected]:petegore/calendmap.git
- Create a MySQL env file with your credentials into
/docker/mysql/mysql.env
- Run
docker-compose build
thendocker-compose up -d
- Add the line t your hosts file :
127.0.0.1 calendmap.local
- Run composer :
docker exec -it -u www-data -w /var/www/symfony/app calendmap-php /bin/bash -c "composer install"
- Update database
- Prepare migration :
docker exec -it -u www-data -w /var/www/symfony/app calendmap-php /bin/bash -c "php bin/console doctrine:migrations:diff"
- Migrate :
docker exec -it -u www-data -w /var/www/symfony/app calendmap-php /bin/bash -c "php bin/console doctrine:migrations:migrate"
- Insert Fixtures :
docker exec -it -u www-data -w /var/www/symfony/app calendmap-php /bin/bash -c "php bin/console doctrine:fixtures:load"
- Prepare migration :
- Create your feature branch
git checkout -b feature/my-feature develop
- Always follow the Gitflow Workflow
- Enjoy !