navigate-ui
v0.5.15
Published
Website developed using [React](https://reactjs.org/) + Typescript.
Readme
Navigate website
Website developed using React + Typescript.
This tool will be used to configure the telescope and its subsystems to point and track a celestial object during an observation. Navigate is a web application with a single centralized server that communicates with the different real-time control systems of the telescope. It also will communicate with other apps in the Gemini Program Platform (GPP) ecosystem, such as Observe and Chronicle.
Launch on local development
Make sure you have installed NodeJS and ni in your machine.
We are now using FontAwesome Pro which requires a license. To build the app locally request a TOKEN from the admins and you need to setup an env variable containing it like
export FONTAWESOME_NPM_AUTH_TOKEN=...Install dependencies
niRun the web app
nr dev
Test modules
Some project modules can be tested using vitest
- Run vitest
nlx vitest
Navigate backend
To connect to the Navigate backend this repository should be cloned and run. The project was developed using Scala, then a proper Scala and sbt installation should be provided.
In the repository directory run
sbtIn sbt compile everything using
compileOnce compiled, to run the server
navigate_web_server/reStartPublishing
In order to publish the project as static assets, run:
pnpm build
pnpm publish --access publicThe project is automatically published by Github actions when a new tag is pushed. Two packages are published:
- https://npmjs.com/package/navigate-ui
edu.gemini:navigate-uion Sonatype. This is an empty package that contains the static assets in theMETA-INF/resources/navigate-uiresource directory. It is used by the backend to serve the static assets.
