- Notifications
You must be signed in to change notification settings - Fork16
tloncorp/landscape
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Landscape provides the primary launching interface for Tlon's suite of userspace applications. This repository contains the front-end web application to power said interface.
Landscape is built primarily usingReact,Typescript, andTailwind CSS.Vite ensures that all code and assets are loaded appropriately, bundles the application for distribution and provides a functional dev environment.
To get started using Landscape first you need to runnpm i
from theui
directory.
Once that's done, you can then runnpm run mock
if you'd like to get started immediately. This will use hard-coded mock data to power the interface so you can work on the interface without being connected to a ship.
To develop against a working ship, you first need to add a.env.local
file to the./ui
directory. This file will not be committed. AddingVITE_SHIP_URL={URL}
where{URL} is the URL of the ship you would like to point to, will allow you to runnpm run dev
. This will proxy all requests to the ship except for those powering the interface, allowing you to see live data.
Regardless of what you run to develop, Vite will hot-reload code changes as you work so you don't have to constantly refresh.
Deploys to internal moons are managed via github actions.