All Projects → DrkSephy → django-tutorial

DrkSephy / django-tutorial

Licence: other
Django tutorial using Bower, Requests, Twitter Bootstrap + Github API

Programming Languages

python
139335 projects - #7 most used programming language
HTML
75241 projects

django-tutorial

Django tutorial application built using Requests, Bower, Twitter Bootstrap and Github 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

Note: On a Mac, you'll need to use:

sudo npm install -g bower

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

bower install

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
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].