- A simple app that consumes the JSON response of a simple GitHub API request.
-
Install virtualenv with the following command:
$ pip install virtualenv
-
Set up your development structure:
$ mkdir YourProjectName $ cd YourProjectName $ virtualenv YourProjectEnv $ git clone [email protected]:ijajmulani/A-basic-Django-app-with-the-Github-API.git githubapi $ source YourProjectEnv/bin/activate $ cd githubapi
-
Let’s get Django installed:
$ pip install django
-
Install request module:
$ pip install request
-
Install dateutil module for date conversion:
$ pip install python-dateutil
-
Launch the development server:
$ python manage.py runserver