I downloaded MERIDIAN. What are the installation steps?
#installation#3d-configurator#luxury-watch#threejs#react-three-fiber
DEV3 Developer Forum
Every post is reviewed first. Usually reviewed within 24 hours.
I downloaded MERIDIAN. What are the installation steps?
#installation#3d-configurator#luxury-watch#threejs#react-three-fiber
Install
npm install.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.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:
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.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.