No description
  • Shell 63%
  • Scala 37%
Find a file
2026-06-06 11:50:05 -06:00
.bsp initial 2026-06-05 14:35:33 -06:00
project initial 2026-06-05 14:35:33 -06:00
src feat: basic db, auth, user model, etc. 2026-06-06 11:50:05 -06:00
.gitignore initial 2026-06-05 14:35:33 -06:00
.scalafmt.conf initial 2026-06-05 14:35:33 -06:00
build.sbt feat: basic db, auth, user model, etc. 2026-06-06 11:50:05 -06:00
README.md feat: basic db, auth, user model, etc. 2026-06-06 11:50:05 -06:00
sbtx initial 2026-06-05 14:35:33 -06:00

Quick start

If you don't have sbt installed already, you can use the provided wrapper script:

./sbtx -h # shows an usage of a wrapper script
./sbtx compile # build the project
./sbtx test # run the tests
./sbtx run # run the application (Main)

For more details check the sbtx usage page.

Otherwise, if sbt is already installed, you can use the standard commands:

sbt compile # build the project
sbt test # run the tests
sbt run # run the application (Main)

Run postgres

Right now you have to run postgres separate. Run:

This makes it run on port 5432 by default.

First time:

docker run --name postgres-db \
  -e POSTGRES_PASSWORD=mypassword \
  -e POSTGRES_DB=serpent \
  -e POSTGRES_USER=postgres \
  -p 5432:5432 \
  -v serpent-pgdata:/var/lib/postgresql/data \
  postgres

After that:

docker stop postgres-db # when you're done
docker start postgres-db # only need this short one after the first time