ClinicEase is a project provides a website for private clinics. Allows patients to choose a doctor to make an appointment.
- Clone project
git clone https://github.com/HiepThanhTran/ClinicEase-Website.git
- Create a virtual environment
python3 -m venv venv
- Activate the environment
source venv/bin/activate # On Windows: venv\Scripts\activate
- Install packages from requirements.txt
pip install -r requirements.txt
- Go to init.py change something below:
- SQLALCHEMY_DATABASE_URI: change user, password, host, and database name
app.config['SQLALCHEMY_DATABASE_URI'] = f'mysql+pymysql://<user>:<password>@<host>/<database name>?charset=utf8mb4'
-
Create database schema by run models.py file
-
Then run index.py file and go to http://127.0.0.1:5000/