Make sure you have the following installed before getting started:
- Node.js version 18
- Yarn for package management
- vJailbreak v2v-helper for backend services
Before running the app in any environment (development or production), the following environment variables must be set:
- VITE_API_TOKEN: The API token for authentication.
- VITE_API_HOST: For development only. Specify this if you're developing against a backend with a different domain.
These variables are necessary for the app to function correctly.
To start the app locally in development mode:
-
Install dependencies:
yarn
-
Run the dev server:
yarn dev
-
Load the UI in your browser at
http://localhost:3000
To build the Docker image, run:
yarn docker:build
The resulting image will be tagged as vjailbreak:latest