Skip to content

An open-source project which can search for blood donors and banks in Nepal's different places by specific blood group.

Notifications You must be signed in to change notification settings

mearjunsingh/online-blood-bank

Repository files navigation

Online Blood Bank #Nepal

Online Blood Bank Thumbnail

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.

Usage

  1. First, clone this project,
    git clone https://github.com/mearjunsingh/online-blood-bank.git

  1. Then get inside that folder,
    cd online-blood-bank

  1. 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

  1. Now activate virtualenv,
    • In windows
      venv\Scripts\activate
    • In Linux
      source venv/bin/activate

  1. Then install dependencies. To do that,
    pip install -r requirements.txt

  1. Now we are ready to run the project. But before that, you must migrate all migrations. Here is how,
    python manage.py migrate

  1. 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


  1. Finally, ready to run the project. Run this command,
    python manage.py runserver

  1. Then locate http://127.0.0.1:8000/ in your favorite web browser.

Contributing to project

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

About

An open-source project which can search for blood donors and banks in Nepal's different places by specific blood group.

Topics

Resources

Stars

Watchers

Forks