Deployed at https://vivek-nexus.github.io/pantograph-catenary-model-ui/
node
yarn
- Clone the repository
- Install all the pre-requisities for your OS
- Run
yarn
to install all packages - Run
yarn dev
to view on the site onlocalhost:3000
Make sure to do all the steps below, in the same order.
- In
next.config.js
, configureLINK_PREFIX
,basePath
andassetPrefix
. Change to blank value if the webpage is served directly from root of the domain. In_document.js
, update the meta tags that specifyproperty="og:url"
andproperty="og:image"
, with the absolute URL of the domain where the website will be deployed.- Run
yarn build && yarn export
to generate static HTML. - Static HTML is dumped to
out
directory of the project. Grab the files and host it on any server. - Optionally, automate these steps with a deployment script of your choice. See a sample deployment script for Github actions here.