📂skeleton-docker-react-symfony
┣📦apps
┃┣ 📂back-symfony
┃┣ 📂front-react
┃┣ 📂logs
┃┣ 📂nginx
┃┗ 📂php-fpm
┣ 📜.env
┣ 📜.gitignore
┣ 📜Makefile
┗ 📜README.md
- Windows: WSL2 & Docker Desktop
- Linux / Max: Docker
git clone https://github.com/AlexisChup/digiwiki.git
make runbuild- Wait few minutes, the 1st build might take some times
- Generate the SSL keys
-
- Run
docker exec -it php-fpm sh
- Run
-
- Run
php bin/console lexik:jwt:generate-keypair
- Run
- Load Fixtures
-
- Run
php bin/console doctrine:fixtures:load
- Run
- Open browser at http://localhost:9090
- Run containers:
make run - Wait about few seconds until containers are started
- Open browser at http://localhost:9090
- Run
make stop
- Run
docker exec -it php-fpm sh - Run
php bin/console doctrine:fixtures:load
- Run
docker exec -it php-fpm sh - Run
php bin/console make:entity - Run
php bin/console make:migration - Run
php bin/console doctrine:migrations:migrate
- Run
docker exec -it php-fpm sh - Run
php bin/console make:entity - Run
php bin/console make:controller XXXXController
- Run
heroku pg:backups:capture --app dw-back - Run
heroku pg:backups:download --app dw-back
See SymfonyDoc for more
- react-bootstrap
- react-icons
- react-redux
- react-router-dom
- react-toastify
- Run
docker exec -it front-react sh - Run
npm install my-lib
heroku git:remote -a