项目作者: Euno257

项目描述 :
Blood Bank Database Management System using Flask and MySQL.
高级语言: HTML
项目地址: git://github.com/Euno257/Blood-Bank-Management-System.git
创建时间: 2019-10-21T11:33:02Z
项目社区:https://github.com/Euno257/Blood-Bank-Management-System

开源协议:Apache License 2.0

下载


Information Management System For A Blood Bank

Report Link: https://docs.google.com/document/d/1MZrnwYzGbihhWo9OdPqnqgWM3_yf3t5LY6qA_63C_xY/edit?usp=sharing

Flask Commands:

Install Dependencies:

  1. pip install -r requirements.txt

Start the server:

  1. export FLASK_APP='app.py'

Run the app:

  1. flask run

Database commands

Open MySQL in terminal:

  1. mysql -u root -p

If the above commands doesn’t works then:

  1. sudo mysql -u root -p

followed by updating the password using:

  1. $ ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'new-password';

Once this is done stop and start the mysql server:

  1. $ sudo service mysql stop
  2. $ sudo service mysql start

View all databases:

  1. SHOW DATABASES;

Creating a new database:

  1. CREATE DATABASE bloodbank;

Use any database:

  1. USE bloodbank;

Snapshots

Home Page

Contact Us

Register

Login

Dashboard

Add Donor

Donor Logs

Donor Blood Details

Blood Requests