/nightly-board

Displays information about PrestaShop nightly builds

Primary LanguageVueMIT LicenseMIT

nightly-board

Splendid PrestaShop nightly board

Build Setup

# install dependencies
$ npm install

# serve with hot reload at localhost:3000
$ npm run dev

# build for production and launch server
$ npm run build
$ QANB_API_DOMAIN=http://api.nightly.com/ QANB_GA=UA-XXXXX-X NUXT_HOST=http://nightly.com NUXT_PORT=80 npm start #to expose the front domain name and port, the GA key, and the backend API URL

# generate static project
$ npm run generate

For detailed explanation on how things work, checkout Nuxt.js docs.

Configuration

You must pass the values via environment variables. Here they are:

Variables
QANB_GA Google Analytics key
QANB_API_DOMAIN URL for the API backend (must ends with a /)