Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
development:python:django:deploy [2020/03/16 20:08]
kalenpw
development:python:django:deploy [2021/06/29 15:02] (current)
kalenpw
Line 4: Line 4:
   - Set up virtualenv   - Set up virtualenv
   - Install gunicorn ''pip install gunicorn''   - Install gunicorn ''pip install gunicorn''
-  - Set ''ALLOWED_HOSTS = 'domain.com''' in ''project/settings.py''+  - Set ''ALLOWED_HOSTS = 'domain.com%%'%%'' in ''project/settings.py''
   - Set ''STATIC_ROOT = os.path.join(BASE_DIR, 'static')'' in ''project/settings.py''   - Set ''STATIC_ROOT = os.path.join(BASE_DIR, 'static')'' in ''project/settings.py''
   - Collect static images to one directory ''python manage.py collectstatic''   - Collect static images to one directory ''python manage.py collectstatic''
Line 43: Line 43:
  
 </file> </file>
 +----