npm install
Set your webservice base url for :
-
dev env in the file 'dev.env.js' in config folder
module.exports = { NODE_ENV: '"development"', VUE_APP_WS_URL:'"https://preprod.citypassenger.com"' }
-
prod env in the file 'prod.env.js' in config folder
module.exports = { NODE_ENV: '"production"', VUE_APP_WS_URL:'"https://admin.citypassenger.com"' }
npm install --production
- Set the port as a env variable (replace XXX by 30006 or 80)
PORT=XXX
- Set the host as env variable (keep the value app.citypassenger.com)
HOST=app.citypassenger.com
- Run command below
npm run serve
npm run build --env=production
npm run test
npm run unit
npm run lint