A django project to register a blood donor and display the donors list. You can register and login new user to website and then add the donor. The added donors will be visible in the display page as a table.
Make sure you have installed postgreql in your device and a database is setup. To install postgresql and pgadmin4 watch Prerequisites
- Clone the repository and open
register
folder in vscode. - To make this project running at first you should create a virtual environment by typing the following in the command prompt:
mkvirtualenv virtualenv_name
- Check whether you are in the virtual environment, if not type the following in command prompt to enter virtual environment:
workon virtualenv_name
- Once in virtual environment, check the working directory and confirm you are in the
register
folder - Then type the following in command prompt:
pip install -r requirements
- Confirm the installations and then type the following to migrate the data:
python manage.py migrate
- Confirm the migration is error free, and then type the following in command prompt and follow the instructions in terminal to create a superuser:
python manage.py createsuperuser
- Now type the following to start the website server in localhost:
python manage.py runserver
- Now type the following in your browser to access the website:
localhost:8000
Fahad P N - LinkedIn
Project Link: Blood_bank