Sign inSign up

dnaevolutions/jopt_demoapplication

By dnaevolutions

•Updated 6 months ago

The Angular Demo Frontend for JOpt.Touroptimizer by https://www.dna-evolutions.com

Image
Integration & delivery
API management
Machine learning & AI
0

2.1K

dnaevolutions/jopt_demoapplication repository overview

⁠JOpt.TourOptimizer — Angular Demo Application

DNA Evolutions

A map-based Angular demo application for DNA Evolutions' JOpt.TourOptimizer. Configure nodes and resources on a Leaflet map, run optimizations against the TourOptimizer REST API, and watch results appear in real time via Server-Sent Events.

Live demo: demo.dna-evolutions.com⁠

Tutorial — How to use the Demo Application


⁠Quick start

A running TourOptimizer instance is required. Start one alongside the demo:

docker run -d --rm --name jopt-touroptimizer \
  -p 8081:8081 \
  -e SPRING_PROFILES_ACTIVE=cors \
  dnaevolutions/jopt_touroptimizer:latest

docker run -d --rm \
  --name jopt-demo \
  -p 3000:80 \
  -e JOPT_SWAGGER_HOST="http://localhost" \
  -e JOPT_SWAGGER_PORT="8081" \
  dnaevolutions/jopt_demoapplication

Then open http://localhost:3000⁠.

⁠Environment variables
VariableDefaultDescription
JOPT_SWAGGER_HOSThttp://localhostBase URL of the TourOptimizer instance
JOPT_SWAGGER_PORT8081Port of the TourOptimizer instance
INPRODUCTIONfalseWhen true, uses the public DNA Evolutions endpoint (20-element cap applies)

⁠Further reading


A product by DNA Evolutions GmbH⁠ ©

Tag summary

Content type

Image

Digest

sha256:ac0b36a7f…

Size

28.6 MB

Last updated

6 months ago

docker pull dnaevolutions/jopt_demoapplication