Skip to content

scalableminds/time-tracker

Repository files navigation

Time tracking for Github issues.

Features

  • Log your time for each issue you work on
  • Get an overview of your and your team's work
  • Injects links into Github issues for easy tracking
  • Uses Github user accounts and repository settings

Dependencies

Installation

After cloning the repository (git clone [email protected]: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