A boilerplate application for Django web applications.

David Leonard ded02e7be2 Adding github.png 10 роки тому
hackathon_starter ded02e7be2 Adding github.png 10 роки тому
.hgignore 7bf2f3384e integrating OpenID into the settings 10 роки тому
README.md 034d3651d4 Merged in mquezada88/django-hackathon-starter (pull request #7) 10 роки тому
bower.json 7bf2f3384e integrating OpenID into the settings 10 роки тому
requirements.txt 8b263a6f1f Commenting out django_openid 10 роки тому

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).

Our deployment can be found here.

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