https://image-codex-enac.epfl.ch/
Prerequisites:
- Make
- Poetry
- Node.js
- Copy
secrets
folder from//enac1files.epfl.ch/common/IT4R/github/image-codex
to this repository root
make install
make run-backend
# http://127.0.0.1:8080
make run-frontend
# http://127.0.0.1:8000
Some run configurations are in .vscode
: https://code.visualstudio.com/docs/editor/debugging
Folder frontend/src/backend is generated from backend API. It should be updated when the backend api changes.
# update generated files (requires Java installed)
make generate-api
make deploy-local
In Docker (if you don't have the correct python version installed)
cd backend
docker build -f Dockerfile-build -t image-codex-build .
# linux
docker run -v $(pwd):/app image-codex-build poetry update
# cmd
docker run -v %cd%:/app image-codex-build poetry update