The local server can now be started with the manager instead

This commit is contained in:
Martin
2016-04-19 17:04:58 +02:00
parent a2e1550ecf
commit 8ad75a0c41
3 changed files with 5 additions and 5 deletions
+3 -2
View File
@@ -14,10 +14,11 @@ List of available configuration options:
| 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
Starting the application:
`$ python run.py`
`$ python manage.py runserver`
+2 -1
View File
@@ -1,2 +1,3 @@
SQLALCHEMY_DATABASE_URI = 'postgresql://user:password@host/db_name'
SQLALCHEMY_TRACK_MODIFICATIONS = True
SQLALCHEMY_TRACK_MODIFICATIONS = True
DEBUG = True
-2
View File
@@ -1,2 +0,0 @@
from api import app
app.run(debug=True)