- Download CLI server:
curl https://github.com/kshaa/dip-testbed/releases/download/<version>/dip_server.zip -L -o dip_server.zip
Note: Replace <version>
with a release verion e.g. v3.0.2
-
Decompress the zip archive: read a how-to article
-
Enter the extracted directory
web-a.b.c-SNAPSHOT
wherea.b.c
is the version, but currently incorrect -0.1.0
-
Configure the server settings under
./conf/application.conf
Note: See sectionServer configuration
for more info -
Enter the server binary directory
../bin
-
Make this binary executable: read a how-to article
-
Run the server
./web
play.http.secret.key
must be a random string used for session encryptionslick.dbs.default
must be the database configurationplay.filters.hosts.allowed
must be the external domain or IP address of the application
For more information use Google e.g.:
Scala Play configure Slick
to configure the database connectionScala Play configure external hostname
to configure the external application hostnameScala Play configure secret key
to configure the server session key
Currently the server should only be used using the CLI client (see README.md).
If needed, possibly the raw REST API definition will be exposed/documented.
Although if you really want to know, you can just use the client and WireShark the network requests.