lampepfl/dotty-bot

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

dotty-bot

Build Status

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.

Running the test suite

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.

Deploying
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

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.