Web client's source code is located in the
/web directory of HollaEx Kit folder.
There are two options to build and deploy the Web client:
HollaEx CLI have a set of web commands where you can build your web client by going to
/web and using the command sets below.
hollaex web (--setup / --start / --stop / --restart / --build / --terminate) (--kube)
--setup : Similar to
hollaex setup, fill the form to configure your web client. If you already finished
hollaex setup process, You don't need to run
hollaex web --setup additionally.
--start : Start the web client. HollaEx CLI will build a
docker image based on your
/web directory. Web will be reachable through the browser using the provided domain URL.
--stop: Stop the web client. This command will not remove anything. It will only stop the web client.
--restart : Restart the web client.
--upgrade : Rebuild the web client Docker image. Run this command if you made code changes in the
/web directory or changed settings files values.
--build: Build the Docker image for the web client server.
--terminate: Terminate the web client. This command can't be undone, so make sure this is your intent before running this command.
--kube flag will do exactly same operation for web at the Kubernetes cluster. Make sure to export your
KUBECONFIG file before running this command.
A custom, manual build requires you to build the dependencies by using
npm install and set the environment variables in
We already have set the example environment variables in
.env.example. Copy the values to a new file called
.env, set the values, and run your exchange. You can get more information on these variables in Web Customization.
After setting the
.env, build the package with
npm run build and host the
/build static folder independently.