Shahroz / GitHubNavigator

A Sample Django Git Hub repository search app using uWSGI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GitHubNavigator

A Sample Django search repository app using Github API v3 and uWSGI for assignment purpose.

Make Sure you have Linux/OSX Environment.

Follows Django best practices as much as possible.

Install uWSGI

  • Install uWSGI on Debian 8.

    sudo apt-get update && apt-get upgrade
    sudo apt-get install uwsgi
    
  • Install uWSGI on OSX.

    brew install uwsgi
    

  • git clone this repo into any directroy.

    cd /path/to/your/directory/
    git clone https://github.com/Shahroz/GitHubNavigator.git
    
  • Create a virtualenv with the latest pip, setuptools, and django packages.

    cd /path/to/your/directory/GitHubNavigator-master
    virtualenv env
    source env/bin/activate
    pip install -r requirements.txt
    
  • Finally Serve Django Project with uWSGI.

    uwsgi --socket /path/to/your/directory/GitHubNavigator-master/GitHubNavigator.sock --http :8000 --module GitHubNavigator.wsgi:application --enable-threads --home env --vacuum --master
    
  • Check it out!

    http://localhost:8000/GitHubNavigator/navigator?search_term="<search here for repository>"
    

About

A Sample Django Git Hub repository search app using uWSGI

License:MIT License


Languages

Language:JavaScript 62.5%Language:CSS 31.7%Language:Python 5.2%Language:HTML 0.5%