Skip to main content
If you want to run the Xyne application in dev mode, this guide will help you do so Deployment of Xyne on Local Machine requires the following dependencies to be installed:

Set-Up Xyne Locally in Dev Mode

To Set-Up Xyne, follow the steps listed below :

Clone the Xyne Repository :

Run the following command to clone the repository :

Setup Environment variables:

The application is dependent on some environment variables that you will need to set up. You will find a .env.default file with default values set in it. You have the option of replacing the necessary values in that file, with the provided values here. Or you could rename it to .env or .env.development based on your preference, and then add the values.
We suggest not having multiple .env files during development because it might interfere with the way bun loads the environment files. For better clarity on order of precedence of the environment files refer to the Set up Environment Variables
In the environment file, you can paste the following :
environment file

Set up Docker

Set up docker by running the follow command :
Running this command will host PostgreSQL, Keycloak, Vespa, and the other local infrastructure containers inside Docker. Keycloak Admin Console will be available at http://localhost:8082/admin/. Bootstrap the Keycloak realm, client, default workspace, and local admin user:
If you want to stop the local infrastructure, use:

Set permission to run the init-script

We first need to set the executable permission to run the init-script, for that, run the following command :

Run the init-script to initialize the application

Navigate to the server folder using cd server and run the following commands :
This will initialize all the dependencies required by the server to run the application successfully. Once that is completed, inside the same server folder run the following command :
this will start the server, which will be listening on port 3000

Start the Xyne client

To start the client side, navigate to the frontend folder :

Client side .env

Create a new .env in the frontend folder, use the following command :
Now paste the following inside the .env file :
Save the file.
This installs all dependencies required by the client side to run. Then start the client using the command :
The app will now be available in port 5173. Go to xyne
In case of any required support, feel free to Contact Us
​