IT'S REVOLUTION!
Currently, the project is based on Python 3.10. To run it you would prefer using the following commands
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python --version # 3.10
which python #.venv/bin/python
There is a file which is responsible for linting and commit hooks. It is called pre-commit-config.yaml. It is based on pre-commit. To run it you shoul use the following command:
pre-commit run --all-files
It is very important to run it before committing your changes to maintain the good code quality.
- Create a new branch from the main branch called feature/your-feature-name
- Create a pull request to the main branch
- Request a review from https://github.com/pro1code1hack or and wait for the review
- If the review is approved, merge the pull request to the main branch
- Delete the branch
- Pull the changes from the main branch
To be continued...
Create the .env file in the root directory of the project. It should contain the following variables:
To be continued...
To be continued...
uvicorn main:app --reload --port 3004