Skip to content

Documentation for the Monitoring and ANalysis for Gravity Operations (MANGO) tool

License

Notifications You must be signed in to change notification settings

nasa-jpl/mango-docs

Repository files navigation

Monitoring and ANalysis for Gravity Operations (MANGO) Docs

This website is built using Docusaurus, a modern static website generator.

Installation

$ npm i

Create certificates

Create a self-signed certificate for local development.

brew install mkcert
mkdir -p .cert && mkcert -key-file ./.cert/key.pem -cert-file ./.cert/cert.pem 'localhost'

Local Development

$ npm run start

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server. Note: for the search feature to work you will have to run in production mode.

Build

$ npm run build

This command generates static content into the build directory and can be served using any static contents hosting service.

Production

$ node server.js

This will start the node express server, which will serve the contents of the build directory over SSL. The default port is 3000.

Docker

Run the following commands from the repo root to build the docker image and run the container locally:

$ docker build -t mango-docs .
$ docker run -d --restart unless-stopped --name mango-docs -p 3000:3000 -v ./.cert:/.cert mango-docs

About

Documentation for the Monitoring and ANalysis for Gravity Operations (MANGO) tool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published