An open-source project for managing blood donors and receivers. This web application can search for donors in Nepal's different districts or local levels by specific blood group.
- First, clone this project,
git clone https://github.com/mearjunsingh/online-blood-bank.git
- Then get inside that folder,
cd online-blood-bank
- Now make sure you have python installed. It is a best practice to install Python projects in a Virtual Environment. To install and create Virtual Envronment,
pip install virtualenv virtualenv venv
- Now activate virtualenv,
- In windows
venv\Scripts\activate
- In Linux
source venv/bin/activate
- In windows
- Then install dependencies. To do that,
pip install -r requirements.txt
- Now we are ready to run the project. But before that, you must migrate all migrations. Here is how,
python manage.py migrate
-
IMPORTANT! You can add superuser via shell by,
python manage.py createsuperuser
But this is uncomfortable because this project requires a lot of information. To solve this problem, this project automatically promotes the FIRST USER as SUPERUSER. Also by default, admin is NOT listed as donor.
SKIP THIS STEP, RUN THE SERVER (AS MENTIONED IN STEP 8) AND REGISTER FROM THE BROWSER ITSELF
- Finally, ready to run the project. Run this command,
python manage.py runserver
- Then locate http://127.0.0.1:8000/ in your favorite web browser.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.