Skip to content
This repository was archived by the owner on Apr 25, 2026. It is now read-only.

iossifovlab/gpf-web-annotation

Repository files navigation

Backend Dependency Installation

mamba env remove -n gpf-web-annotation
mamba env create --name gpf-web-annotation --file ./backend/gpf/environment.yml
mamba env update --file ./backend/environment.yml
conda run -n gpf-web-annotation pip install -e ./backend/gpf/dae
conda activate gpf-web-annotation
mamba env update -n gpf-web-annotation --file ./backend/dev-environment.yml
pip install -e ./backend

Frontend Dependency Installation

cd frontend
npm install

Running the app

Run the backend

cd backend
conda activate gpf-web-annotation
export GRR_DEFINITION_FILE=~/grr_definition.yaml
python manage.py migrate
python manage.py runserver

Run the frontend

cd frontend
ng serve

Running frontend tests

cd frontend
npm test

Running backend tests

cd backend
export DJANGO_SETTINGS_MODULE=web_annotation.test_settings
pytest web_annotation/tests/

Run using Docker compose

Initial build

mv ~/conda-channel.tar.gz .
tar zxvf conda-channel.tar.gz 
docker compose build ubuntu-image
docker compose build gpf-image
docker compose build backend
docker compose build frontend

Initial start

docker compose up frontend
http://localhost

Rebuild and re-start the frontend

docker compose down frontend
docker compose build frontend
docker compose up frontend

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors