all repos — artbound-python @ 08f88f33cc31749813199dfc6ddae579e242bd1c

A client-server reimplementation of the administration panel for ArtBound.

README.md (view raw)

 1# artbound-python
 2
 3A client-server reimplementation of the administration panel for ArtBound.
 4
 5## Configuration
 61. Copy `.env.example` into `.env` and fill it out;
 72. Generate a `credentials.json` with Drive and Sheets APIs and the following redirect URL: `http://localhost:1111`;
 8
 9## Usage (poetry)
10* Debug:
11```
12poetry install
13poetry run flask --app artbound_python run --port 1111 --debug
14```
15* Production:
16```
17poetry install --with prod
18poetry run python artbound_python
19```
20
21## Usage (docker)
221. Generate a `token.json` file: `poetry install; poetry run python get_token.py`;
232. Build the image and start the container: `docker-compose up -d`.