diff --git a/README.md b/README.md index e894657..f82f3c9 100644 --- a/README.md +++ b/README.md @@ -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` \ No newline at end of file +`$ python manage.py runserver` \ No newline at end of file diff --git a/config.sample.py b/config.sample.py index 98e0b48..de45af9 100644 --- a/config.sample.py +++ b/config.sample.py @@ -1,2 +1,3 @@ SQLALCHEMY_DATABASE_URI = 'postgresql://user:password@host/db_name' -SQLALCHEMY_TRACK_MODIFICATIONS = True \ No newline at end of file +SQLALCHEMY_TRACK_MODIFICATIONS = True +DEBUG = True \ No newline at end of file diff --git a/run.py b/run.py deleted file mode 100644 index 0996ddb..0000000 --- a/run.py +++ /dev/null @@ -1,2 +0,0 @@ -from api import app -app.run(debug=True) \ No newline at end of file