Skip to content

Commit

Permalink
Improving the README.md and editing the settings.py
Browse files Browse the repository at this point in the history
to include DEBUG in .env file
  • Loading branch information
frasanz committed Sep 26, 2024
1 parent e993128 commit 9eedd39
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,24 @@
To be completed


## Instalation in development mode


## Instalation in production mode with gunicorn (in Ubuntu/Debian)
1. Install supervisord `sudo apt-get install supervisor`
2. Install gunicorn (already in requirements.txt)
4. Install `nginx`: `sudo apt install nginx`






For detailed installation, see [INSTALL.md](INSTALL.md)


# Usage


## License

2 changes: 1 addition & 1 deletion gdalface/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
SECRET_KEY = 'django-insecure-*=6q(&bzk6+*uxgus^d%4^i)c*fr!p+%3(m5kf#+ir@969^3c*'

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True
DEBUG = config('DEBUG', default=False, cast=bool)

ALLOWED_HOSTS = ['lostatnight.org', 'localhost', '127.0.0.1']

Expand Down

0 comments on commit 9eedd39

Please sign in to comment.