Marco Andronaco ef590a5626 | ||
---|---|---|
.vscode | ||
artbound_python | ||
tests | ||
.dockerignore | ||
.env.example | ||
.gitignore | ||
Dockerfile | ||
LICENSE | ||
README.md | ||
docker-compose.yaml | ||
get_token.py | ||
poetry.lock | ||
pyproject.toml | ||
requirements.txt |
README.md
artbound-python
A client-server reimplementation of the administration panel for ArtBound.
Configuration
- Copy
.env.example
into.env
and fill it out; - Generate a
credentials.json
with Drive and Sheets APIs and the following redirect URL:http://localhost:1111
;
Usage (poetry)
- Debug:
poetry install
poetry run flask --app artbound_python run --port 1111 --debug
- Production:
poetry install --with prod
poetry run python artbound_python
Usage (docker)
- Generate a
token.json
file:poetry install; poetry run python get_token.py
; - Build the image and start the container:
docker-compose up -d
.