Intended Use - Sweater-Baron/safe-ride GitHub Wiki
We have produced both a webpage and Android application that allow a Safe Ride client to send a reservation request to the dispatcher. Our server was created with Flask and we used a SQL database to store and send the request information. We have achieved basic functionality in both the web and app, which we built with consideration to possible expansion in future iterations, particularly regarding our Android application.
###How to Use
Before running the server for the first time, you will need to run these commands in Command Line:
make install
cp CONFIG.base.py CONFIG.py
If you would like to change the port number or change the debug mode of the server, edit the CONFIG.py file you created.
To run each time:
source env/bin/activate
python3
Open a browser (Firefox is recommended) and navigate to http://127.0.0.1:6666/ to view the request page. Once the submit button is pushed you will be redirected to a basic confirmation page (located at http://127.0.0.1:6666/confirmation).
To view the dispatcher's page, navigate to http://127.0.0.1:6666/dispatch.
Direct any further questions to the developers.