Spaeti is a re-implementation of prepaid-mate.
- Setup docker on your system.
$ sudo apt install docker.io docker-compose
$ sudo adduser $USER docker
- Create an environment file from the example environment file and start the app
$ cp example.env .env
$ docker-compose up
- While the app is running, setup a database and a admin user
$ docker-compose exec app ./docker-entrypoint.sh migrate
$ docker-compose exec app ./docker-entrypoint.sh createsuperuser
$ docker-compose up
All operational configuration is done in .env
.
Spaeti stores all data in data/
, which can be reset by running sudo rm data -rf
.
$ docker-compose run playwright tox
$ docker-compose run playwright tox -e lint
Before deployment, make sure you changed all sensible configuration in .env
.
$ docker-compose up -d