DEV3 Technologies home

DEV3 Developer Forum

What are the installation steps for MERIDIAN?

Product questionsSolved0 views

1 reply

dev3 · Accepted answer

Install

  1. Download the ZIP from your DEV3 account and unzip it.
  2. Open a terminal in the unzipped folder and run npm install.
  3. Start the development server with npm run dev, then open the address it prints in your browser. The dev script uses port 3210; change -p 3210 in package.json if that port is taken.
  4. Scroll, or use the arrow keys, Page Up/Down and Space, to move through the eight chapters.

Documentation/index.html (open it in a browser) and README.md describe the architecture in more detail.

Deploy to Vercel

Push the folder to a Git repository and import it in Vercel. The defaults for a Next.js project work as-is: build command npm run build, no environment variables.

Deploy as a static site

MERIDIAN has no server code, so it can be exported to plain HTML, CSS and JavaScript:

  1. Build with the export settings by setting DEMO_EXPORT_BASE to the path the site will live under, for example DEMO_EXPORT_BASE=/watch npm run build. The build:demo script in package.json is an example of this.
  2. Upload the generated out/ folder to any static host or CDN (Netlify, Cloudflare Pages, S3, nginx).

To serve the export from a domain root, edit next.config.ts and remove basePath and assetPrefix from the export branch. NEXT_PUBLIC_DEMO_DOWNLOAD_URL is only used by the hosted demo's badge; leave it unset and the badge does not render.

0

Your reply

Every post is reviewed by DEV3 before it appears. Usually reviewed within 24 hours.

Markdown supported. Use ``` for code blocks. Images are not allowed.