parent
48390b0b01
commit
c3b50d3f72
@ -36,10 +36,11 @@ pip install -r requirements.txt
|
|||||||
# Configuration
|
# Configuration
|
||||||
|
|
||||||
If you are familiar with Django you can just edit the [settings file](etesync_server/settings.py)
|
If you are familiar with Django you can just edit the [settings file](etesync_server/settings.py)
|
||||||
according to the [Django deployment checklist](https://docs.djangoproject.com/en/1.11/howto/deployment/checklist)
|
according to the [Django deployment checklist](https://docs.djangoproject.com/en/dev/howto/deployment/checklist/)
|
||||||
if you are not, we also provide a simple [configuration file](etesync-server.ini)
|
if you are not, we also provide a simple [configuration file](etesync-server.ini.example)
|
||||||
for easy deployment which you can use. You can either edit the provided file or
|
for easy deployment which you can use.
|
||||||
create one in `/etc/etesync-server`.
|
|
||||||
|
To use the easy configuration file rename it to `example-server.ini` and place it either at the root of this repository or in `/etc/etesync-server`.
|
||||||
|
|
||||||
Some particular settings that should be edited are:
|
Some particular settings that should be edited are:
|
||||||
* [`ALLOWED_HOSTS`](https://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-ALLOWED_HOSTS)
|
* [`ALLOWED_HOSTS`](https://docs.djangoproject.com/en/1.11/ref/settings/#std:setting-ALLOWED_HOSTS)
|
||||||
|
@ -3,7 +3,7 @@ secret_file = secret.txt
|
|||||||
debug = false
|
debug = false
|
||||||
|
|
||||||
[allowed_hosts]
|
[allowed_hosts]
|
||||||
;allowed_host1 = host1.tld
|
allowed_host1 = example.com
|
||||||
|
|
||||||
[database]
|
[database]
|
||||||
engine = django.db.backends.sqlite3
|
engine = django.db.backends.sqlite3
|
Loading…
Reference in New Issue
Block a user