Medical annotation tool
Install python3
, node
, npm
, nvm
Frontend: cd static; nvm use; npm i; npm run lint
Backend: cd api; python3 manage.py install {dev}
Backend: cd api; python3 manage.py run
Frontend: cd static; npm run dev
Backend Full build: python3 manage.py build
Backend Only tests: python3 manage.py test {--cov}
Backend Format: python3 manage.py format
Frontend: npm run lint
, npm run test:e2e
, npm run test:unit
Create database: python3 manage.py db-create
Load test data into database: python3 manage.py db-reload
Dump database content into JSON-file: python3 manage.py data-dump
Delete and recreate database: python3 manage.py db-reset
Create new Migration: python3 manage.py migration-create
Apply (new) Migrations: python3 manage.py migration-apply
run-dev.sh
to setup and start a dedicated development container.
--local-data-dir
argument if you want to mount your local ~/.annoto
folder into the containerconnect-dev.sh
to open a new bash inside the (already running) development container.exit-dev.sh
to stop the development container.