1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-02-19 13:54:25 +01:00

docker/README env variable missing in seeding database command

This commit is contained in:
Nicolas Florentin 2017-07-24 12:26:50 +02:00
parent 2b4864af74
commit 999865ba85

View File

@ -196,7 +196,7 @@ docker-compose pull
```bash
docker-compose run --rm fabmanager bundle exec rake db:create # create the database
docker-compose run --rm fabmanager bundle exec rake db:migrate # run all the migrations
docker-compose run --rm fabmanager bundle exec rake db:seed # seed the database
docker-compose run --rm -e ADMIN_EMAIL=xxx ADMIN_PASSWORD=xxx fabmanager bundle exec rake db:seed # seed the database
```
### build assets
@ -270,8 +270,10 @@ sudo systemctl start letsencrypt.timer
### Restart nginx container
`docker-compose restart nginx`
### Example of command passing env variables
docker-compose run --rm -e ADMIN_EMAIL=xxx ADMIN_PASSWORD=xxx fabmanager bundle exec rake db:seed
## update Fabmanager