/popularconvention

analyzing code convention from github commits for Github data challenge II

Primary LanguageCoffeeScriptMIT LicenseMIT

Popular Convention on Github

analyzing code convention from github commits for Github data challenge II

You can see Here.

Getting Started

npm install
$(npm bin)/bower install
$(npm bin)/coffee server.coffee --nodejs
open http://localhost:8020/popularconvention

Tests

npm run test
$(npm bin)/grunt test

Requirement

  • Node.js
  • CoffeeScript
  • MongoDB 2.4 with MONGODB_HOST and MONGODB_PORT environment variables set (ex: export MONGODB_HOST=127.0.0.1; export MONGODB_PORT=27017)
  • GitHub tokens (see https://github.com/settings/applications/new) - save to github.json in .tokens directory

Docker

This project is dockerized.

Run mongodb first

docker run --name mongodb -d outsideris/popularconvention-mongodb:1.0

Then, run popular-convention.

docker run -d -p 8020:8020 --link mongodb:mongodb -e "MONGODB_HOST=mongodb" outsideris/popularconvention:1.1

License

Copyright (c) 2017 "Outsider" Jeonghoon Byun Licensed under the MIT license.