Skip to content

Ninja-Indie-Group/Online-Booking-System-Backend

Repository files navigation

Online-Booking-System

🧑🏽‍💻 Here is a workflow to contribute to projects.

  1. Clone this repository to your local machine.
git clone [this-repo]
  1. Change to the repository directory on your computer:
cd Online-Booking-System
  1. Change to dev branch as the template for your new branch:
git checkout dev
  1. Create a branch using the git checkout command:
git checkout -B branch-name
  1. Create your virtual environment(Linux OS)
python3 -m venv venv; source venv/bin/activate
  1. Install all Packages in requirements
pip install -r requirements.txt
  1. Implementing your features if you install a new packge, add to the requirements file using this
pip freeze > requirements.txt
  1. Run your code with this, ensure that is no error, if there is(are) errors, fix them before pushing
gunicorn --config gunicorn-cfg.py run:app

or

gunicorn --config gunicorn-cfg.py --access-logfile access_log.log --error-logfile error_log.log run:app
  1. Push to your branch(not main branch)
git push origin  branch-name
  1. Then Come to Github to make pull request

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors