The backend web server which serves a REST API for dogfinder-app
- Install python 3.6+ for your system preferably latest stable version of python
- Get the code
https://github.com/animal-locator-drone/dogfinder-backend.git
- cd into the folder
cd dogfinder-backend
- Setup a venv and activate it
python -m venv .venv
source .venv/bin/activate
- You will need to rerun this in each new terminal unless you automate with VScode
- Install dependencies with pip
pip install -r requirements.txt
- Activate the venv (see Prerequisites 4.2)
- Run the web server with auto reload
uvicorn main:app --reload
- Read the documentation it has an excellent tutorial for beginners.