scalableminds / time-tracker

Time Tracking for Github issues.
timer.scm.io
MIT License
13 stars 2 forks source link

Time-Tracker logo Time-Tracker

Time tracking for Github issues.

Features

Dependencies

Installation

After cloning the repository (git clone git@github.com:scalableminds/time-tracker.git), create a file under conf/github.conf with the following content:

# DEV settings
authentication.github{
  clientId = "GITHUB APPLICATION CLIENT ID"
  secret = "GITHUB APPLICATION SECRET"
}

After that you can use the following commands to install / run the application:

cd time-tracker
bower install
npm install -g scalableminds/coffee-script
sbt run

Or use with it Docker (see next section)

Scala and Java dependencies will automatically be downloaded. The application will be running on Port 9000.

Docker

Some helpful commands, to be refined (TODO)

# the development image and bower dependencies
docker build -t scalableminds/time-tracker-dev-env docker-helpers/time-tracker-dev-env
DOCKER_TAG_DEV=latest docker-compose run time-tracker-bower install

# using sbt run
DOCKER_TAG_DEV=latest FLAGS="-Dauthentication.github.clientId=<token_client_id> -Dauthentication.github.secret=<token_secret>" docker-compose run --service-ports time-tracker-sbt-run

# make standalone image (compile with sbt)
DOCKER_TAG_DEV=latest docker-compose run time-tracker-sbt clean compile stage
docker build -t scalableminds/time-tracker .

# run the standalone image
DOCKER_TAG=latest MODE=<dev/prod> FLAGS="-Dauthentication.github.clientId=<token_client_id> -Dauthentication.github.secret=<token_secret>" docker-compose up time-tracker

Credits

scalable minds

License

MIT 2014 scalable minds