-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Welcome to the Hospital-Management-System wiki! This open-source project is designed to assist small hospitals around the world. Here you'll find all the information needed to set up, run, and contribute to the project.
This project is built using Flask, a micro web framework written in Python. It utilizes SQLAlchemy for database operations and provides features like patient registration, appointment scheduling, and user authentication.
- Python 3.6+
- pip (Python package installer)
- Virtual environment (recommended)
-
Clone the Repository:
git clone https://github.com/ghtali/Hospital-Management-System.git cd Hospital-Management-System
-
Set Up a Virtual Environment:
python3 -m venv venv source venv/bin/activate # On Windows, use: .\venv\Scripts\activate
-
Install Dependencies:
pip install -r requirements.txt
-
Set Environment Variables (Optional):
If you wish to use a database other than the default SQLite, set the
DATABASE_URI
environment variable:export DATABASE_URI="mysql+pymysql://<username>:<password>@<host>:<port>/<database>"
-
Initialize the Database:
python init_db.py
-
Run the App:
python app.py
Access the app in your browser at
http://localhost:5000/
.
Contributions are always welcome! Here's how you can help:
- Report Bugs: Use the issue tracker to report bugs.
- Submit Fixes: Submit pull requests and improve the repo.
- Improve the Docs: Enhance this Wiki or add more documentation.
This project is licensed under the MIT License. See the LICENSE file for details.