Skip to content

Latest commit

 

History

History
51 lines (35 loc) · 857 Bytes

README.md

File metadata and controls

51 lines (35 loc) · 857 Bytes

Dependencies

  • Deno

Dev dependencise

  • Make
  • sqlite3
  • dia diagram

Configuration

Configuration is done with enviormental variables (or a .env file). Here's an example of values

PORT=8080
SQLITE=database.sqlite
ADMIN_USERNAME=luca
ADMIN_PASSWORD=qwer1234
[email protected]
LOG_LEVEL=NOTSET

Production

To run in production simply run.

make run

Docker/Podman

For running in a container there's 2 commands that must be ran

First build the image.

# make container-build

Then either run it manually or with

# make container-run

One issue with the make script is that it will not have any enviormental variables set. Ideally you should pass --env-file=.env or something similar (podman(1))