Credits for Login feature: https://github.com/Faouzizi/Create_LoginPage.git
Fork and Clone the repository
git clone <source_url>
Now cd to the project folder
- Make a virtual environment
You may need to install virtualenv first by
virtualenv <directory_name>
pip install virtualenv
- Activate environment
for linux
<directory_name>\Scripts\activate
source <directory_name>/bin/activate
- Install requirements
pip install -r requirements.txt
- Run Server
python main.py
- Deactivate environment when done
deactivate
Note: Replace <directory_name> with any name
- Install requirements
pip install -r requirements.txt
- Run Server
python main.py
sudo docker run -p 5000:5000 --name blood_bank metavinayak/blood_bank:latest
Use Ctrl+C to exit.
Finally use
sudo docker stop blood_bank
sudo docker rm blood_bank