Hospital Management using django as backend. It will have core functionalities of a standard hospital management, Email Authentication, Payment method
Project Update: Whole project structure has been made All Database, schema and tables are created (Models.py in every app) Full admin UI is done Also, Admin can sign in successfully
This project uses environment variables to keep sensitive information secure. Follow these steps:
# Copy the example file
cp .env.example .env# Clone repository
git clone https://github.com/MRSHAKILS/Hospital-management.git
cd Hospital-management
# Create virtual environment
python -m venv venv
venv\Scripts\activate # Windows
# source venv/bin/activate # macOS/Linux
# Install dependencies
pip install -r requirements.txt
# Set up environment variables (see above)
cp .env.example .env
# Edit .env with your values
# Database setup
python manage.py makemigrations
python manage.py migrate
# Create superuser
python manage.py createsuperuser
# Run development server
python manage.py runserverThe following sensitive files are automatically ignored by Git:
.env- Environment variablesdb.sqlite3- Database file__pycache__/- Python cache filesmedia/- User uploaded filesstaticfiles/- Collected static files
For production deployment:
- Set
DEBUG=Falsein.env - Configure
ALLOWED_HOSTSwith your domain - Use a production database (PostgreSQL recommended)
- Set up proper static file serving
- Use HTTPS for all communications
- Regular backups and monitoring