Skip to content

maxfelker/terra-major-webapp

Repository files navigation

Web App

Web app and admin for Terra Major.

Run database locally

First, create a .env file in the root of the directory with the following values:

VITE_BUILD_VERSION=xxx
VITE_API_BASE_URL=http://localhost:8000
VITE_BUILD_BASE_URL=xxx
VITE_AZURE_CONFIG_URL=xxx
VITE_CHARACTER_FBX_URL=ZR7_blue.FBX

Run app in Dev mode locally

To run the app locally,

docker compose up --build dev

This will run the app locally on http://localhost:5173

Run app in Release mode locally

To build the release:

docker compose up --build release

This will run the ap locally on http://localhost.