JoliGEN UI
Web interface to control JoliGEN process.
How to run
git clone git@git.jolibrain.com:jolibrain/joligen_ui.git
cd joligen_ui
Production
Production env for Joligen UI will run a joligen server with a web ui on top of it.
Setup joligen data folder at
/path/to/joligen/
open another terminal and run the following commands:
export JG_USER=$(id -u)
export JG_PLATFORM_DATA=/path/to/joligen/
docker-compose up
Other services will be available when running joligen_ui
in production env:
Development
Development env will allow you to modify joligen_ui
code and validate these modifications directly in your web browser.
open a terminal and run
yarn install && yarn start
in project rootopen another terminal and run the following commands:
export JG_USER=$(id -u)
export JG_PLATFORM_DATA=/opt/joligen/
export JG_HOST=server_host
export JG_PORT=18110
docker-compose -f ./docker-compose-dev.yml up --no-deps --build joligen_ui
Some informations about running processes and associated ports:
joligen
server must bind its host withdocker.host.internal
, the server can be started fromjoliGEN
project root folder with the following command:
cd code/joliGEN/
export DOCKER_HOST_INTERNAL=172.28.0.1
server/run.sh --host $DOCKER_HOST_INTERNAL --port 8000
joligen
server will be available behindjoligen_ui
nginx reverse-proxy at the following url: http://server_host:18110/joligen/
Visdom Proxy
Visdom server should be running on host on port 8097 - http://server_host:8097 - in order to display visdom iframe when clicking on visdom menu item in header.
If 8097 is not the right port number, it should be changed in ./deploy/nginx-dev.conf
in visdom_proxy
location.