SpotSeeker is a mobile application designed for travelers to share their experiences through images, discover new places, share their location and recommendations with other travelers around the world.
- Python 3.11
- Virtualenv 20.21
- PostgreSQL
Create Python virtual environment:
virtualenv venv -p python3.11Activate the virtual environment
source venv/bin/activateInstall the dependencies:
pip install -r requirements/local.txtInstall pre-commit hooks:
pre-commit installRun the project:
python manage.py runserverYou need to install Docker desktop in order to get all the packages to run docker container with compose. Then you need to create the network for the application with:
$ docker network create spotseeker-net
With the network created you must have to create a .env file follow the example .env.evample
Finally run the container:
$ docker compose up --build
$ pytest
To run the tests, check your test coverage, and generate an HTML coverage report:
$ coverage run -m pytest
$ coverage html
$ open htmlcov/index.html
Running type checks with mypy:
$ mypy spotseeker