Name: dotty-bot
Owner: Programming Methods Laboratory EPFL
Description: null
Created: 2017-12-07 14:14:26.0
Updated: 2018-03-11 14:22:43.0
Pushed: 2018-03-07 09:23:45.0
Homepage: null
Size: 54
Language: Scala
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
h dotty@scala-webapps.epfl.ch
Internal address: http://scala-webapps.epfl.ch:48080/api/rate
Architecture is based on http4s and circe for JSON serialization. Should be pretty straight forward to make changes.
To run the test suite, you need to start sbt with these env vars:
THUB_USER=dotty-bot \
GITHUB_TOKEN=<github token> \
DRONE_TOKEN=<drone token> \
GITHUB_CLIENT_ID=<github client id> \
GITHUB_CLIENT_SECRET=<github client secret> \
sbt
There are a bunch of tests that make sure that we're wired up correctly:
st
Please note that you have to start sbt with the above args, otherwise you'll get exceptions in the testing telling you to specify them.
t clone https://github.com/lampepfl/dotty-bot.git
dotty-bot
t assembly
ST=128.178.154.101 \
PORT=48080 \
GITHUB_USER=dotty-bot \
GITHUB_TOKEN=<github token> \
DRONE_TOKEN=<drone token> \
GITHUB_CLIENT_ID=<github client id> \
GITHUB_CLIENT_SECRET=<github client secret> \
java -jar target/scala-2.12/dotty-bot-assembly-0.1-SNAPSHOT.jar