mirror of
https://github.com/etesync/server
synced 2025-02-21 12:52:09 +00:00
Fix type + change to correct ini file
parent
792866fe79
commit
14340738a8
@ -35,9 +35,14 @@ It should now look like this:
|
|||||||
[global]
|
[global]
|
||||||
secret_file = secret.txt
|
secret_file = secret.txt
|
||||||
debug = false
|
debug = false
|
||||||
|
;Advanced options, only uncomment if you know what you're doing:
|
||||||
|
;static_root = /path/to/static
|
||||||
|
;static_url = /static/
|
||||||
|
;language_code = en-us
|
||||||
|
;time_zone = UTC
|
||||||
|
|
||||||
[allowed_hosts]
|
[allowed_hosts]
|
||||||
allowed_host1 = *
|
allowed_host1 = example.com
|
||||||
|
|
||||||
[database]
|
[database]
|
||||||
engine = django.db.backends.sqlite3
|
engine = django.db.backends.sqlite3
|
||||||
@ -54,7 +59,7 @@ After initialising the server, you can run it for the first time.
|
|||||||
```
|
```
|
||||||
|
|
||||||
On the machine, you can now surf to `localhost:8000` and it should show a page saying "It works!"
|
On the machine, you can now surf to `localhost:8000` and it should show a page saying "It works!"
|
||||||
If you're on a different machine than the one running the server, surf to it's local IP address followed by the portnumber, e.g. `192.168.x.x:8000`.
|
If you're on a different machine than the one running the server, surf to its local IP address followed by the portnumber, e.g. `192.168.x.x:8000`.
|
||||||
|
|
||||||
If this works, congratulations!
|
If this works, congratulations!
|
||||||
You now have a functioning Django application.
|
You now have a functioning Django application.
|
||||||
|
Loading…
Reference in New Issue
Block a user