Commit Graph

5 Commits

Author SHA1 Message Date
77bc4bbfc9 Add db and static directories to .gitignore
* db directory in root usually holds production data and causes git to
  complain about not being able to read it
* static directory in root holds the collected static files which are
  regenerated/collected at build time

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-07-18 17:06:12 -07:00
c4f910c6a8 Add files necessary for production deployment
* Dockerfile, docker-compose template
* nginx config
* uwsgi config
* wait-for-postgres script
* requirements.txt
* Some other stuff

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-07-18 17:04:37 -07:00
258b8b955b Rename settings.py -> settings.example.py
When a new deployment is created, or when new settings are added, we
want to avoid overwriting settings that may already be present. So we
use the settings.example.py file for default settings and settings.py
for deployment settings instead.

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-07-17 19:55:43 -07:00
7941acc224 Add ALLOWED_HOSTS file to gitignore
In tandem with the last commit, ALLOWED_HOSTS file is no longer tracked
by git.

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-07-12 16:54:03 -07:00
126db039e2 Initial commit
Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
2022-05-03 18:02:04 -07:00