No description
- Shell 63%
- Scala 37%
| .bsp | ||
| project | ||
| src | ||
| .gitignore | ||
| .scalafmt.conf | ||
| build.sbt | ||
| README.md | ||
| sbtx | ||
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)
Links:
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