FAQ

1. How do I run a local development instance of baseline connected to the backend running on the kuba cluster?

  1. 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;
                }
        }

}
  1. Clone repo
git clone git@gitlab.ics.muni.cz:ngs-bioinformatics/oko.git
  1. Install dependencies
cd oko
yarn 
  1. Run app in dev mode:
yarn start
  1. Visit http://localhost/oko