We're family of PHP developers from the Czech Republic, learning from each other on meetups and trainings. We meet once a month in Prague, Brno and less often 4 other cities.
This website is deployed to pehapkari.cz.
git clone [email protected]:pehapkari/pehapkari.cz.git
# install PHP dependencies
composer install
# rename `.env.dist` to `.env` and complete variables.
# create database
bin/console doctrine:schema:create
# if you change entities later, update the database
bin/console doctrine:schema:update --dump-sql --force
# dump css and js from all bundles
bin/console assets:install --env=prod --no-debug
# final step - run the website
php -S localhost:8000 -t public
Open localhost:8000 to see if it worked!
This is example for running the project locally:
- Run
bin/run-from-docker.sh
- Enjoy :-)
Project is available on localhost:8080 DB Adminer is available on localhost:8081 (default credentials: server: mysql, user: root, password: root)
In some rare scenarios you might want to tweak docker-compose.yml
file for your needs.
- This repository is mirrored to gitlab.com/pehapkari/pehapkari.cz
- CI Pipeline is run on Gitlab CI
- When everything passes, it's deployed to our server in a Docker container
Our deploy from merge to production takes only 6 minutes thanks to Jan Mikeš. If you need CI-ready, Gitlab, Docker and DigitalOcean fully automated deploy, let him know.