all repos — artbound-python @ 2bfd559153b962cd9dc4a06c668905d196984b8a

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## Instructions
 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`;
 83. Install dependencies: `poetry install`.
 9
10## Usage (poetry)
11* Debug: `poetry run flask --app artbound_python run --port 1111 --debug`.
12* Production: `poetry run waitress-serve --host 0.0.0.0 --port 1111 artbound_python:app`
13
14## Usage (docker)
151. Generate a `token.json` file: `poetry run python get_token.py`;
162. Build the image and start the container: `docker-compose up -d`.