- start server with
./sbt run
- run tests with
./sbt test
- test run configurations should include VM Parameter
-Dconfig.file=src/main/resources/test.conf
- test run configurations should include VM Parameter
- package fat jar with
./sbt assembly
- run jar with
java -jar $JAR
- override reference conf with
java -jar $JAR -Dconfig.file=$CONF
(confs merge with last-one-wins) - production & staging confs are supplied in
src/main/resources
with the following replaceable tokens:$DATABASE_USERNAME$
- replace this for the db username$DATABASE_PASSWORD$
- replace this for the db password
- override reference conf with
-
Notifications
You must be signed in to change notification settings - Fork 2
A collection of basic starting points for a Scala API server
License
robconrad/base-api
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A collection of basic starting points for a Scala API server
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published