A boilerplate application for Django web applications.

David Leonard b48e7934a4 Adding Bootstrap to login/register forms vor 10 Jahren
hackathon_starter b48e7934a4 Adding Bootstrap to login/register forms vor 10 Jahren
.hgignore af0af4adaf .hgignore: Ignoring migrations folder vor 10 Jahren
README.md d7a19d0bbb Resolving #44 vor 10 Jahren
bower.json c8e57bbacf Adding bower.json file for frontend dependencies vor 10 Jahren
requirements.txt 027db36b74 Updating requirements.txt: Adding django-bower library vor 10 Jahren

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