Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/outsideris/popularconvention

analyzing code convention from github commits for Github data challenge II
https://github.com/outsideris/popularconvention

Last synced: 2 months ago
JSON representation

analyzing code convention from github commits for Github data challenge II

Awesome Lists containing this project

README

        

# Popular Convention on Github

analyzing code convention from github commits for [Github data challenge II](https://github.com/blog/1450-the-github-data-challenge-ii)

You can see [Here](http://sideeffect.kr/popularconvention/).

## 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.

* [outsideris/popularconvention:1.1](https://hub.docker.com/r/outsideris/popularconvention/) : node.js application
* [outsideris/popularconvention-mongodb:1.0](https://hub.docker.com/r/outsideris/popularconvention-mongodb/) : mongodb that contains the archived data.

Run mongodb first

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

Then, run popular-convention.

```bash
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.