Skip to content

PatrickPaetzold/RectEuler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to use RectEuler

If you want to use our RectEuler tool, you don't have to run it on your server. On https://rectvis.de/, you can upload your datasets using the "Upload Data" button. After the optimization, you can download the final visualization.

There are some example datasets in the examples folder.

Prerequesist

Gurobi Licece

A Gurobi WSL Licence is required to run the optimization. For academic use, it can be obtained from https://www.gurobi.com/academia/academic-program-and-licenses/. If you have obtained a gurobi.lic file, place it in docker-files/secrets. You can delete the gurobi.lic.sample file.

Set Up Postgres

In docker-files/secrets rename postgres_password.txt.sample to postgres_password.txt and put in it a secure password used for the database.

Local Deployment

Run docker compose up in docker-files. You can now open your browser on localhost to view the website and upload datasets to be visualized.

Web Deployment without SSL certificates

Change localhost in - SERVER_ADDR=localhost to your domain.

Run docker compose up in docker-files. You can now open your browser on localhost to view the website and upload datasets to be visualized.

Web Deployment with SSL certificates

Change localhost in - SERVER_ADDR=localhost to your domain.

Run docker compose up -d in docker-files. To run the server without SSL certificate. Now you can accuire a certificate with the command docker compose run --rm certbot certonly --webroot --webroot-path /var/www/certbot/ -d example.org. Please replace example.org with your domain.

Open the file docker-files/nginx/templates/http.conf.template and uncomment the commented out code. Restart the containers with the command docker compose restart to reload the certificate. This process is also described here: https://mindsers.blog/en/post/https-using-nginx-certbot-docker/

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors