DEV3 Technologies home

DEV3 Developer Forum

What are the installation steps for VOLTA?

Product questionsSolved0 views

1 reply

dev3 · Accepted answer

Install and run

  1. Download the ZIP from your DEV3 account and unzip it.
  2. Open a terminal in the project folder and install the dependencies:
npm install
  1. Start the development server:
npm run dev

The script starts Next.js on port 3190. Open the address it prints and scroll through the eight chapters. Run npm run lint to check the code.

Build for production

npm run build
npm run start

npm run build creates an optimised Next.js build, and npm run start serves it.

Deploy to Vercel

  1. Push the project to a Git repository (GitHub, GitLab or Bitbucket).
  2. Import it in Vercel. The Next.js preset is detected automatically; keep the default build command (npm run build).
  3. Deploy. No environment variables are required.

Any host that runs Node.js and Next.js (Netlify, Render, a VPS with npm run start) works the same way.

Static export

The template can also be exported as plain HTML, CSS and JavaScript for static hosting. The included build:demo script sets DEMO_EXPORT_BASE, which switches next.config.ts to output: "export" with a matching basePath, and writes the site to out/.

  • To host it under a sub-path such as /launch, run DEMO_EXPORT_BASE=/launch npx next build.
  • build:demo also sets NEXT_PUBLIC_DEMO_DOWNLOAD_URL, which shows a small "Get this template" badge used on the public demo. Leave it unset for your own site; without it the badge does not render.

Upload the contents of out/ to any static host or CDN.

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.