Skip to content
 
 

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HarakaCare

A Django-based web application for healthcare management.

Prerequisites

  • Python 3.8 or higher
  • pip (Python package installer)
  • Virtual environment (recommended)

Getting Started

1. Clone the Repository

git clone <repository-url>
cd harakacare

2. Create and Activate Virtual Environment (Recommended)

On Windows:

python -m venv venv
.\venv\Scripts\activate

On macOS/Linux:

python3 -m venv venv
source venv/bin/activate

3. Install Dependencies

pip install -e .

4. Set Up Environment Variables

Create a .env file in the project root and add the following variables:

DEBUG=True
SECRET_KEY=your-secret-key-here

5. Run Migrations

python manage.py migrate

6. Create Superuser (Admin)

python manage.py createsuperuser

7. Run the Development Server

python manage.py runserver

Visit http://127.0.0.1:8000/ in your browser to view the application.

Project Structure

  • apps/: Contains all Django applications
  • harakacare/: Main project configuration
  • templates/: HTML templates
  • static/: Static files (CSS, JavaScript, images)
  • media/: User-uploaded files
  • tests/: Test files

Development

Running Tests

python manage.py test

Code Style

This project follows PEP 8 style guidelines. Before committing, please ensure your code is properly formatted.

Deployment

For production deployment, make sure to:

  1. Set DEBUG=False in your environment variables
  2. Configure a proper database (PostgreSQL recommended)
  3. Set up a proper web server (Nginx + Gunicorn recommended)
  4. Configure proper static files handling

License

[Specify your license here]

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages