User-facing web application for guadr delivery system.
This application runs on an NGINX webserver and makes use of flask, wsgi, and OpenStreetMap.
- Follow this tutorial
- Clone this repository
- Create a python3 virtual environment
- Activate virtual environment & install everything in requirements.txt
virtualenv .env && source .env/bin/activate && pip install -r requirements.txt
- Create database as shown in "Setting Up Frontend"
- Run nginx and frontend services
sudo systemctl start nginx;
sudo systemctl start frontend;
Here are steps to set up our Web Application on your own.
- make a folder for the app
mkdir ~/Documents/GUADR_frontend
cd ~/Documents/GUADR_frontend
- Clone the repository.
git clone git@github.com:guadr/frontend.git
- Install dependencies
pip install -r requirements.txt- Create instance Folder for DB
mkdir ~/Documents/GUADR_frontend/instance
- run the application
python3 frontend.py
- We currently have a 'dummy' secret key on this repository. We change this when it is actually deployed. Make sure to make a good secrey key when deploying. Learn more here https://flask.palletsprojects.com/en/1.1.x/config/#SECRET_KEY
- Add Payment Capabilities
- Add Notification Sysytem