dev3 ·
I downloaded HELIOS. What are the installation steps?
#installation#3d#threejs#react-three-fiber#nextjs
0
DEV3 Developer Forum
Every post is reviewed first. Usually reviewed within 24 hours.
I downloaded HELIOS. What are the installation steps?
#installation#3d#threejs#react-three-fiber#nextjs
Install and run
Download the ZIP from your DEV3 account and unzip it.
Open a terminal in the unzipped folder and install the dependencies:
npm install
Start the development server:
npm run dev
Open the address it prints (port 3000 by default; use npm run dev -- -p 4000 for another port) and scroll from the Sun to Neptune.
Production build
npm run build
npm run start
npm run lint runs ESLint with the Next.js config.
Deploy
npm run build). No environment variables are required.next.config.ts has a static-export mode that is switched on by the DEMO_EXPORT_BASE variable. Set it to the sub-path you will serve from (for example /helios) and run npx next build; the site is written to out/, which you can upload to any static host or CDN. The build:demo script in package.json is the configuration used for DEV3's hosted demo; remove its NEXT_PUBLIC_DEMO_DOWNLOAD_URL setting so the "Get this template" badge is not shown on your site.