Skip to content

MohamedAboElsaud/tabibak

Repository files navigation

Doctor Booking App

Doctor Booking System

Requirements

  1. Python 3.8+ installed
  2. Text editor such as vs code or sublime text
  3. Git - preferrably use terminal like gitbash

Setup

  1. Clone the repository.

  2. Change directory to the location of this repository.

  3. Create a .env file using the included .env.example as an example.

  4. Generate a secret key for your app and paste into the SECRET_KEY section of .env file you can find generate the key from here

  5. Create and start your preferred Python virtual environment. For more information on how to set up a virtual environment, check the instructions on this link. Install the required libraries by running the commands below, by changing to the project directory.

     pip install -r requirements.txt
    
  6. After installation, run the following command:

     python manage.py migrate
    
  7. A local dbsqlite file will be generate at the root of the project.

  8. Create a superuser by running the python manage.py createsuperuser and fill in the details.

  9. After creating superuser run python manage.py runserver open the browser and run 127.0.0.1:8000/admin , login with the credentials created.

  10. For details of how to get started with django, check out this link

  11. In order to work with a virtual environment, check out this link

Usage

To run locally:

python manage.py runserver

Development

Pull the latest master version:

git pull origin master

Create local development branch and switch to it:

git branch {feature_branch_name}
git checkout {feature_branch_name}

Make desired changes then commit the branch.

git add .
git commit -m "changes to{feature_branch_name}"
git push origin {feature_branch_name}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published