Skip to content

Latest commit

 

History

History

ui

Dockerized instance

Update static/config/api-url for API URL.

docker build -t jitok-ui .
docker run -p 8080:80 \
    -v $PWD/static/config/api-url:/usr/share/nginx/html/config/api-url:ro \
    jitok-ui

Standalone setup

installation

  • Install nodejs, yarn and git packages.

  • Get a copy of the repo (don't run as root):

git clone https://github.com/jitsi-contrib/jitok.git
  • Install modules (don't run as root):
cd jitok/ui
yarn install

configuration

Set API_URL in static/config/api-url according to your environment.

http://127.0.0.1:9000/api

running (dev)

yarn run dev --host --port 3000

running (prod)

Build the static files:

yarn run build

Configure your web server to point to the build folder. e.g. for Nginx

location / {
    root /home/jitok/ui/build;
    try_files $uri /index.html;
}