Create option to use subdomain

This commit is contained in:
cuom1999 2023-01-30 23:19:30 -06:00
parent 41837db827
commit b049f6eace
3 changed files with 9 additions and 1 deletions

View file

@ -90,6 +90,8 @@ celery -A dmoj_celery worker
node websocket/daemon.js
```
7. To use subdomain for each organization, go to admin page -> navigation bar -> sites, add domain name (e.g, "localhost:8000"). Then go to add `USE_SUBDOMAIN = True` to local_settings.py.
## Deploy
Most of the steps are similar to Django tutorials. Here are two usual steps: