Skip to content

filmer-team/filmer

Repository files navigation


The swiping movie suggestor!

Development Setup

Build + start local setup (non dockerized)

Backend:

  • (setup your python venv)
  • pip install -r requirements.txt
  • python manage.py migrate
  • python manage.py createsuperuser (choose a password etc)
  • python manage.py populateMovies
  • python manage.py runserver

Frontend:

  • cd frontend
  • npm i
  • npm start

Production Setup

Setup Docker (Linux)

  $ sudo apt update && sudo apt install -y docker.io docker-compose
  $ sudo systemctl enable --now docker
  $ sudo usermod -aG docker $USER
  $ newgrp docker

Build + run production server (Docker)

  • Build + start container + create superuser
$ docker-compose up -d --build
$ docker-compose exec backend python manage.py createsuperuser
  • Stop + remove volume
$ docker-compose down -v
  • Clean up removed volume(s)
$ docker image prune -af
  • Start container (detached + no build)
$ docker-compose up -d
  • Stop container (dont remove volumes)
$ docker-compose down

About

The swiping movie suggestor!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •