Skip to content

Latest commit

 

History

History
45 lines (31 loc) · 1.36 KB

README.md

File metadata and controls

45 lines (31 loc) · 1.36 KB

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.