/letsrolld

Letterboxd based movie recommendations

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

letsrolld

Development

  1. Install flox.

  2. Activate flox environment.

flox activate
  1. Install dependencies not packaged for nixos, yet.
make install
  1. Run the tests.
make test
  1. Initialize an empty database. This will also upgrade schema for existing database, if needed.
make run-db-upgrade
  1. Populate the database with test data. This will initialize the database with 10 directors and their films, by default.
make populate
make run-all
  1. Run the web backend.
make webapp

At this point, the backend should be running at http://localhost:8000. You can access the API schema at http://localhost:8000/api/doc/swagger.json.

  1. Open Web UI.
make ui

This should open your browser with the frontend.