From 7029a8916c4ba4ab53b2dda13694bbc66f359e5c Mon Sep 17 00:00:00 2001 From: Eduardo Cuducos Date: Mon, 16 Oct 2017 06:44:10 -0200 Subject: [PATCH] Fix Docker instructions: new container name --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 5895f31..fb5f7d6 100644 --- a/README.md +++ b/README.md @@ -201,16 +201,16 @@ $ docker-compose up -d Creating the database and applying migrations: ``` -$ docker-compose run --rm jarbas python manage.py migrate +$ docker-compose run --rm django python manage.py migrate ``` Seeding it with sample data: ```console -$ docker-compose run --rm jarbas python manage.py reimbursements /mnt/data/reimbursements_sample.xz -$ docker-compose run --rm jarbas python manage.py companies /mnt/data/companies_sample.xz -$ docker-compose run --rm jarbas python manage.py suspicions /mnt/data/suspicions_sample.xz -$ docker-compose run --rm jarbas python manage.py tweets +$ docker-compose run --rm django python manage.py reimbursements /mnt/data/reimbursements_sample.xz +$ docker-compose run --rm django python manage.py companies /mnt/data/companies_sample.xz +$ docker-compose run --rm django python manage.py suspicions /mnt/data/suspicions_sample.xz +$ docker-compose run --rm django python manage.py tweets ``` If you're interesting in having a database full of data you can get the datasets running [Rosie](https://github.com/datasciencebr/rosie). @@ -222,7 +222,7 @@ You can access it at [`localhost:8000`](http://localhost:8000/) in development m ```console -$ docker-compose run --rm jarbas python manage.py reimbursements path/to/my/fresh_new_reimbursements.xz +$ docker-compose run --rm django python manage.py reimbursements path/to/my/fresh_new_reimbursements.xz ``` To change any of the default environment variables defined in the `docker-compose.yml` just export it in a local environment variable, so when you run Jarbas it will get them.