關于Github上項目的聚集統計 - GitChecker

jopen 8年前發布 | 13K 次閱讀 Git 版本控制系統 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
項目地址: https://github.com/madshargreave/gitchecker

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!