24 lines
551 B
Markdown
24 lines
551 B
Markdown
# Photowall API 2
|
|
|
|
Provides a REST API to Photowall database.
|
|
|
|
## Installation
|
|
|
|
`$ pip install -r requirements.txt`
|
|
|
|
## Configuration
|
|
|
|
First copy config.sample.py to config.py. This file will be read by the application on startup.
|
|
|
|
List of available configuration options:
|
|
|
|
| Name | Description |
|
|
| ---- | ----------- |
|
|
| `SQLALCHEMY_DATABASE_URI` | Database connection string. e.g: `postgresql://user:password@localhost/photowall` |
|
|
| `DEBUG` | Enable/disable debug mode
|
|
|
|
## Getting started
|
|
|
|
Starting the application:
|
|
|
|
`$ python manage.py runserver` |