- Node.js version 16 and up. Recommended use Node Version Manager for installation.
- To manage client dependencies it is recommended to use Yarn. In order to install it, you need to run:
$ npm install --global yarn
You need to install dependencies and run the client
$ yarn install
$ yarn dev
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