2021-01-02 11:56:24 +01:00
CSS
2021-01-02 11:56:24 +01:00
CSS
2021-01-02 11:56:24 +01:00
CSS
2021-01-02 11:56:24 +01:00
2020-12-29 13:46:58 +01:00
CSS
2021-01-02 11:56:24 +01:00
CSS
2021-01-02 11:56:24 +01:00
CSS
2021-01-02 11:56:24 +01:00

Databaes migration

Done using dbmate. Db stuff is stored in ./db.

Example of running the migrations:

docker run --rm -it -e DATABASE_URL="postgres://postgres:postgres@127.0.0.1:5432/pwrpln?sslmode=disable" --network=host -v "$(pwd)/db:/db" amacneil/dbmate up

Example of setting up a postgres SQL server:

docker run -d --name postgres --network=host -e POSTGRES_PASSWORD=postgres -e POSTGRES_PASSWORD=postgres -e POSTGRES_DB=pwrlpln postgres

Admin account

On first startup with a clean database, an account with name "admin" is created with no password, using the API Key from ADMIN_API_KEY in the .env file.

Description
No description provided
Readme 2.4 MiB
Languages
Go 74.2%
JavaScript 20.6%
Shell 3.4%
Dockerfile 1.8%