Skip to content
This repository has been archived by the owner on Oct 21, 2018. It is now read-only.

Commit

Permalink
Update install.md
Browse files Browse the repository at this point in the history
  • Loading branch information
bufke committed Feb 8, 2015
1 parent 6a30ce1 commit d35c3a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Prerequisites
2. Edit fig-production.yml and set environment variables for PostgresSQL, email, and any further customizations. For a full list of environment variables see [settings.py](django_sis/settings.py)
3. `fig run --rm web ./manage.py migrate`
4. `fig run --rm web ./manage.py collectstatic`
5. (optional) `fig run --rm web ./manage.py populate_sample_data`
5. (optional) `fig run --rm web ./manage.py populate_sample_data` This creates a super user/password of aa/aa for convenience.
6. Run docker via fig `fig -f fig-production.sh up`. Obviously you can run the docker images in many other ways. Learn more about how we do it [here](http://davidmburke.com/2014/09/26/docker-in-dev-and-in-production-a-complete-and-diy-guide/).
7. It should now be running on port 8000. Consider changing the port in fig-production.yml, using nginx as a proxy, and using SSL with nginx. We also recommend not storing media or static files in docker even though fig does support persistence. Use S3 or mount a volume for media. To use S3 just set the related variables as defined in [settings.py](django_sis/settings.py).

Expand Down

0 comments on commit d35c3a8

Please sign in to comment.