The local server can now be started with the manager instead
This commit is contained in:
@@ -14,10 +14,11 @@ List of available configuration options:
|
|||||||
|
|
||||||
| Name | Description |
|
| Name | Description |
|
||||||
| ---- | ----------- |
|
| ---- | ----------- |
|
||||||
| `SQLALCHEMY_DATABASE_URI` | Database connection string. e.g: `postgresql://user:password@localhost/photowall`
|
| `SQLALCHEMY_DATABASE_URI` | Database connection string. e.g: `postgresql://user:password@localhost/photowall` |
|
||||||
|
| `DEBUG` | Enable/disable debug mode
|
||||||
|
|
||||||
## Getting started
|
## Getting started
|
||||||
|
|
||||||
Starting the application:
|
Starting the application:
|
||||||
|
|
||||||
`$ python run.py`
|
`$ python manage.py runserver`
|
||||||
@@ -1,2 +1,3 @@
|
|||||||
SQLALCHEMY_DATABASE_URI = 'postgresql://user:password@host/db_name'
|
SQLALCHEMY_DATABASE_URI = 'postgresql://user:password@host/db_name'
|
||||||
SQLALCHEMY_TRACK_MODIFICATIONS = True
|
SQLALCHEMY_TRACK_MODIFICATIONS = True
|
||||||
|
DEBUG = True
|
||||||
Reference in New Issue
Block a user