Skip to content

Commit

Permalink
doc: update README about config path changes
Browse files Browse the repository at this point in the history
  • Loading branch information
fallen committed Apr 12, 2020
1 parent ef9b2e9 commit 95ec00c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion dev/INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,11 @@ $ source pytition_venv/bin/activate
(pytition_venv) $ pip3 install -r requirements.txt
```

### Configure pytition/pytition/pytition/settings/base.py:
### Configure pytition/pytition/pytition/settings/config.py:

First copy `pytition/pytition/pytition/settings/config_example.py` to `pytition/pytition/pytition/settings/config.py`

Then you can modify `pytition/pytition/pytition/settings/config.py`.
In a production environment you should modify the following settings:
* SECRET_KEY => put YOUR value, it's important for security.
* DEBUG => False
Expand Down Expand Up @@ -75,6 +78,7 @@ WSGIPythonPath /home/YOUR_USER/www/pytition/pytition
<VirtualHost *:80>
ServerName petition.yourdomain.tld
WSGIScriptAlias / /home/YOUR_USER/www/pytition/pytition/pytition/wsgi.py
SetEnv DJANGO_SETTINGS_MODULE pytition.settings.config
Alias /static /home/YOUR_USER/www/static
Expand Down

0 comments on commit 95ec00c

Please sign in to comment.