Skip to content

PenO3-CW2B2/WebApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

web server for smart bike rental system

The webserver has been build with django and provides a way for users to hire bikes.

installation

the project has the following dependencies:

clone this repository

git clone https://github.com/PenO3-CW2B2/webapp

rename the example.settings.py to settings.py and edit the following settings:

create the migrations for the bikes

python manage.py makemigrations bikes

apply the migrations to the database

python manage.py migrate

You can test the server by running it locally

python manage.py runserver

and you should be able to access it on http://127.0.0.1:8000

for installation on an ulyssis server with (Fast)CGI see this.

Note: When using an appache server you should add CGIPassAuth On to the htaccess file. Otherwise the custom header Authorization will not be passed to django.