Skip to content

kkamkou/gitmostwanted.com

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CI Code Climate Coverage Status 0pdd

gitmostwanted

Advanced explore of github.com. Our goal is to highlight the most interesting repositories and exclude others. You can find some concepts in the Wiki.

If you would like to help the project, please consider these topics:

  • GMW uses Google BigQuery and the service is pretty expensive.
  • GMW is located on a private machine.

Run (Python3)

# export PYTHONPATH="`pwd`:${PYTHONPATH}"
# export GMW_APP_ENV=production
cp instance.cfg.distr /path/to/instance.cfg
export GMW_APP_SETTINGS=/path/to/instance.cfg
python gitmostwanted/web.py

Tests

export GMW_APP_ENV=testing
pip install pytest pytest-pep8 responses
py.test --pep8 gitmostwanted tests/unit
# py.test --pep8 --cov . --cov-report annotate gitmostwanted tests/unit

Docker

Run it two times as the first time it'll fail (see: #224). Default port is 5000.

cp instance.cfg.distr instance.cfg
# modify instance.cfg if needed

Non-persistent

[sudo] docker-compose up --detach

Persistent variant

# modify paths and envs in docker-compose-persistent.yml
[sudo] docker-compose \
    -f docker-compose.yml -f docker-compose-persistent.yml up --detach

Contribution

  • Fork this repo.
  • Modify the source code and create a new Pull Request.
  • Please follow these code standards.