Symfony base adds admin user, security, fixture, bootstrap.
Open a command console, enter your project directory and execute:
git clone https://github.com/gonzaloalonsod/symfony_base.git
cd symfony_base
composer install
composer dump-env prod
# cp .env .env.local
- SUPER_EMAIL=
- SUPER_PASSWORD=
symfony console doc:data:create
symfony console doc:sche:create
symfony console doc:fix:load
* Start containers in the background: `docker-compose up -d`
* Start containers on the foreground: `docker-compose up`. You will see a stream of logs for every container running.
* Stop containers: `docker-compose stop`
* Kill containers: `docker-compose kill`
* View container logs: `docker-compose logs`
* Execute command inside of container: `docker-compose exec SERVICE_NAME COMMAND` where `COMMAND` is whatever you want to run. Examples:
* Shell into the PHP container, `docker exec -it symfony-php-fpm bash`
* Run symfony console, `docker exec symfony-php-fpm bin/console`
* Open a mysql shell, `docker exec symfony-mariadb mysql -uroot -pCHOSEN_ROOT_PASSWORD`
* http://127.0.0.1:8080
- Gonzalo Alonso - gonzaloalonsod@gmail.com
- Felix Barros - soyFelixBarros@gmail.com
- Fabian Serafini - elfabi87@gmail.com