2
0

add rm to cleanup

This commit is contained in:
Mario Loria 2016-10-14 15:56:28 -04:00
parent 136d5e24bd
commit 666e6175a7

View File

@ -14,9 +14,9 @@ will get you up and running in no time!
1. `mkdir -p data/{sentry,postgres}` - Make our local database and sentry config directories. 1. `mkdir -p data/{sentry,postgres}` - Make our local database and sentry config directories.
This directory is bind-mounted with postgres so you don't lose state! This directory is bind-mounted with postgres so you don't lose state!
2. `docker-compose run web config generate-secret-key` - Generate a secret key. 2. `docker-compose run --rm web config generate-secret-key` - Generate a secret key.
Add it to `docker-compose.yml` in `base` as `SENTRY_SECRET_KEY`. Add it to `docker-compose.yml` in `base` as `SENTRY_SECRET_KEY`.
3. `docker-compose run web upgrade` - Build the database. 3. `docker-compose run --rm web upgrade` - Build the database.
Use the interactive prompts to create a user account. Use the interactive prompts to create a user account.
4. `docker-compose up -d` - Lift all services (detached/background mode). 4. `docker-compose up -d` - Lift all services (detached/background mode).
5. Access your instance at `localhost:9000`! 5. Access your instance at `localhost:9000`!