http://127.0.0.1:8000/docs
http://127.0.0.1:8000/redoc
POST: to create data.
GET: to read data.
PUT: to update data.
DELETE: to delete data.
git checkout develop
git pull --rebase upstream develop
git push
creating a python venv to work in and install the project requirements
python -m venv .venv
.venv\Scripts\activate
python -m pip install --upgrade pip
pip install -r requirements.txt
when you added some dependancies update the requirements
venv\Scripts\activate
call pip freeze > requirements.txt
when you want to upgrade the dependancies
venv\Scripts\activate
powershell "(Get-Content requirements.txt) | ForEach-Object { $_ -replace '==', '>=' } | Set-Content requirements.txt"
call pip install -r requirements.txt --upgrade
call pip freeze > requirements.txt
powershell "(Get-Content requirements.txt) | ForEach-Object { $_ -replace '>=', '==' } | Set-Content requirements.txt"
if your branch gets out of sync and for some reason you have many pushes and pulls, to become insync without pushing some random changes do this
git fetch https://github.com/Bot-detector/bot-detector-ML.git