Skip to content

ashishdalvi3/django-git

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-git

Test Project on DJango git api

Installation

To install the required libraries for this file, simply run the following:

pip install -r requirements.txt

This project also requires using Bower, which requires NPM. In order to get NPM, simple install Node.js. Once you have node, you can install Bower:

npm install -g bower

With Bower, you can install the front-end dependencies by running:

bower install bootstrap
bower install jQuery  ==> Additional step needed 

This will generate the static folder along with bootstrap and jquery inside it.

Running the project

To run this project:

# Navigate into directory containing manage.py
cd demonstration

# Setup the database
python manage.py migrate
python manage.py makemigrations

# Run the server
python manage.py runserver

You can now visit the following URLS:

* http://127.0.0.1:8000/app/
* http://127.0.0.1:8000/app/test/
* http://127.0.0.1:8000/app/profile/

Tests

Run the test suite:

python manage.py test   : Currently in progress

Credits: http://drksephy.github.io/2015/07/16/django/