a django web app for searching movies with tmdb
NOTE: Before you start you need to set the Google client id and Secret in the .env for Google oAuth
Requirements:
- Pip and Python
- UV package manager
- Clone the repo and change the directory to the Projects directory. Optionally source the venv:
uv venv
source .venv/bin/activate- Install all dependencies:
uv sync- Run server
uv run manage.py runserverAll commands:
uv venv
source .venv/bin/activate
uv sync
uv run manager.py runserverRequirements: Docker cli
- Build the container
docker build -tag flakes:latest .- Run the container:
docker run flakes:latestAll commands:
docker build -tag flakes:latest .
docker run -p 8000:8000 flakes:latestThe docker file uses ASGI
NOTE: The app will run on port 8000 on localhost and 0.0.0.0