This is the repository containing the code for the official Minter Console website console.minter.network
- clone the repo
- ensure latest stable Node.js and NPM are installed
- install node_modules
npm ci
- copy .env.master
cp .env.master .env
- set correct .env variables
- build
npm run production
- now you have static assets in the
./dist/
folder, you have to distribute them with some web server like Nginx (or runnpm run start
, but it's not recommended for production)
Build in Nuxt SPA mode
npm ci && npm run production
Root folder: ./dist/
# install dependencies
$ npm install # Or yarn install
# serve with hot reload at localhost:3000
$ npm run dev
# build for production and launch server
$ npm run build
$ npm start
# generate static project
$ npm run generate
For detailed explanation on how things work, checkout the Nuxt.js docs.