-
Activate flox environment.
flox activate
- Install dependencies not packaged for
nixos
, yet.
make install
- Run the tests.
make test
- Initialize an empty database.
make init_db
If the database is already initialized, you may need to update its schema if there were new alembric migrations added. To do this, run the following command:
make run-db-upgrade
- Populate the database with test data. This will initialize the database with 10 directors and their films, by default.
make populate
make run-all
- 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
.
- Open Web UI.
make ui
This should open your browser with the frontend.