关于Github上项目的聚集统计 - GitChecker
GitChecker
GitChecker是一个开源工具用于聚集关于Github上项目的统计!
Installation
$ git clone git@github.com:madshargreave/gitchecker.git $ cd gitchecker $ mix deps.get $ npm install
Running in development
Two run the application locally, the database must be prepared and an Github access token must be specified to be used in conjunction with the GitHub API.
Database
Run the following commands to create and migrate the database
$ mix ecto.create $ mix ecto.migrate
Github Access Token
Before running locally, you must create an .env
file in the project root.
Example .env
file:
export GITHUB_ACCESS_TOKEN="your github access token"
Starting servers
You must start both the webpack development server and the Phoenix server in seperate terminal tabs. For convenience, a start
script has been suppliedin the project root to source the .env
file before starting the webserver.
Webpack (client): npm start
Phoenix (server): ./start
or source .env && mix phoenix.server
Stack
- Webpack
- Redux
- React
- React Router
- Elixir
- Phoenix
- PostgreSQL
本文由用户 jopen 自行上传分享,仅供网友学习交流。所有权归原作者,若您的权利被侵害,请联系管理员。
转载本站原创文章,请注明出处,并保留原始链接、图片水印。
本站是一个以用户分享为主的开源技术平台,欢迎各类分享!