Skip to content

AnInternetTroll/arsoppgave.backend

Repository files navigation

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))

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published