A boilerplate application for Django web applications.

David Leonard c7af70ecc3 Refactoring navbar %!s(int64=10) %!d(string=hai) anos
hackathon_starter c7af70ecc3 Refactoring navbar %!s(int64=10) %!d(string=hai) anos
.hgignore af0af4adaf .hgignore: Ignoring migrations folder %!s(int64=10) %!d(string=hai) anos
README.md 845fc0a4c9 Updating README %!s(int64=10) %!d(string=hai) anos
bower.json c8e57bbacf Adding bower.json file for frontend dependencies %!s(int64=10) %!d(string=hai) anos
requirements.txt 027db36b74 Updating requirements.txt: Adding django-bower library %!s(int64=10) %!d(string=hai) anos

README.md

Django Hackathon Starter

What is Django Hackathon Starter

Django Hackathon Starter aims to be a project which will aggegrate data from several APIs, producing a RESTful API which can be consumed by a client (also intended to be built).

Running this project

In order to run this project, do the following:

# Install the requirements
pip install -r requirements.txt

# Perform database migrations
python manage.py migrate

# Run the server
python manage.py runserver

Front End dependencies

This project relies on Bower for all front end libraries, to avoid pushing up large libraries such as jQuery and Bootstrap. To install bower, you will need to install npm, which now comes bundled with node.js. To install npm, simply install node as follows.

First, install bower:

npm install -g bower

Then:

bower install

This will download and extract all the packages listed within bower.json. Under no circumstance should any front-end libraries manually be pushed up to the repository.

Two routes have currently been set up, which are located at:

# First test route
http://127.0.0.1:8000/hackathon/

# Second test route
http://127.0.0.1:8000/hackathon/test

Contributors

  • David Leonard
  • Eswari Swarna
  • Marco Quezada
  • Wan Kim Mok