Home

Awesome

issue_aggregator

http://g0vissues.jmehsieh.com </br> 搜尋 g0v repo issues by language & labels

共筆

Hosting

如何運作

參與開發

開發前
建置 DB
$ git clone https://github.com/JmeHsieh/issue_aggregator.git
$ cd issue_aggregator
$ virtualenv venv
$ source venv/bin/activate
$ pip install -r requirements.txt
$ cp config_template.json config.json
$ vim config.json
{
	user: 連線 db 的 user,
	db: postgresql database name,
	token: github personal auth token
}
$ cp your_url_list_json_file data/
$ python download_jsons.py
$ python j2jb.py
run flask app
$ export FLASK_APP=app.py
$ export FLASK_DEBUG=1
$ flask run
api usage