Skip to content

estromenko/tit-web-client

Repository files navigation

tit-web-client

Dependencies

Mandatory

Optional

  • To manage client dependencies it is recommended to use Yarn. In order to install it, you need to run:
$ npm install --global yarn

Getting started

Development

You need to install dependencies and run the client

$ yarn install
$ yarn dev

Production

To deploy the app in production environment you should use werf (Installation instruction link).

To build and deploy app use command below:

$ werf converge --repo registry.tutorin.tech/tit-web-client --env prod

To override default configuration you can use --set flags or custom values.yaml file:

$ werf converge --repo registry.tutorin.tech/tit-web-client --env prod \
    --set PUBLIC_TIT_BACKEND=https://api.tutorin.tech
$ # Alternatively
$ werf converge --repo registry.tutorin.tech/tit-web-client --env prod \
    --values /path/to/custom/values.yaml