File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -8,14 +8,14 @@ allows remote evaluation of arbitrary Scala code.
8
8
# Run from sources
9
9
10
10
``` bash
11
- sbt run
11
+ sbt " project evaluator-server " " run"
12
12
```
13
13
14
14
# Authentication
15
15
16
16
The remote Scala eval uses [ JWT] ( https://jwt.io/ ) to encode / decode tokens.
17
17
The ` secretKey ` used for encoding/decoding is configurable as part of the service configuration in
18
- ` src/main/resources/application.conf ` .
18
+ ` server/ src/main/resources/application.conf` .
19
19
20
20
Please change ` secretKey ` by overriding it or providing the ` EVAL_SECRET_KEY ` env var.
21
21
@@ -32,7 +32,7 @@ In order to generate an auth token you may use the scala console and invoke
32
32
the ` org.scalaexercises.evaluator.auth#generateToken ` like so
33
33
34
34
```
35
- sbt console
35
+ sbt "project evaluator-server" " console"
36
36
37
37
scala> import org.scalaexercises.evaluator.auth._
38
38
You can’t perform that action at this time.
0 commit comments