FAQ
1. How do I run a local development instance of baseline connected to the backend running on the kuba cluster?
- Configure your local nginx
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
server {
listen 80;
server_name localhost;
location /oko/ {
rewrite ^/oko(.*) $1 break;
proxy_pass http://localhost:3000;
}
location /datastore/ {
rewrite ^/datastore(.*) $1 break;
proxy_pass https://datastore.dyn.cloud.trusted.e-infra.cz;
}
}
}
- Clone repo
git clone git@gitlab.ics.muni.cz:ngs-bioinformatics/oko.git
- Install dependencies
cd oko
yarn
- Run app in dev mode:
yarn start
- Visit http://localhost/oko