- Clone this repository to your local machine.
git clone [this-repo]
- Change to the repository directory on your computer:
cd Online-Booking-System
- Change to dev branch as the template for your new branch:
git checkout dev- Create a branch using the
git checkoutcommand:
git checkout -B branch-name- Create your virtual environment(Linux OS)
python3 -m venv venv; source venv/bin/activate- Install all Packages in requirements
pip install -r requirements.txt- Implementing your features if you install a new packge, add to the requirements file using this
pip freeze > requirements.txt- 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:appor
gunicorn --config gunicorn-cfg.py --access-logfile access_log.log --error-logfile error_log.log run:app- Push to your branch(not main branch)
git push origin branch-name- Then Come to Github to make pull request