forked from rc/aircox
comment admin
This commit is contained in:
20
README.md
20
README.md
@ -64,24 +64,8 @@ pip install -r requirements.txt
|
||||
|
||||
### Configuration
|
||||
You must write a settings.py file in the `instance` directory (you can just
|
||||
copy and paste `instance/sample_settings.py`.
|
||||
|
||||
You will need to define a secret key, and eventually update the list of allowed hosts:
|
||||
|
||||
```
|
||||
# django's project secret key (mandatory; you can find generators online)
|
||||
SECRET_KEY = ''
|
||||
# list of allowed hosts
|
||||
ALLOWED_HOSTS = [ '127.0.0.1:8042' ]
|
||||
```
|
||||
|
||||
You also want to redefine the following variable (required by Wagtail for the CMS):
|
||||
|
||||
```
|
||||
WAGTAIL_SITE_NAME = 'Aircox'
|
||||
```
|
||||
|
||||
Each application have a `settings.py` that defines extra options that can be redefined in this file. Look in their respective directories for more informations.
|
||||
copy and paste `instance/sample_settings.py`. There still is configuration
|
||||
required in this file, check it in for more info.
|
||||
|
||||
|
||||
### Installation and first run
|
||||
|
Reference in New Issue
Block a user