Skip to content
This repository has been archived by the owner on Jun 8, 2018. It is now read-only.

EuropeanRespiratorySociety/search

Repository files navigation

Search Engine UI for the ERS

This is the UI for the search engine

A Vue.js project

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

# run unit tests
npm run unit

# run e2e tests
npm run e2e

# run all tests
npm test

For detailed explanation on how things work, checkout the guide and docs for vue-loader.

Production procedure

  1. Commit and push code to github

Connect to Infomaniak and setup the environment

  1. ssh to Infomaniak
  2. go to the Search UI folder: cd search

Deploy new code

  1. Pull changes from github master: git pull origin master
  2. Build website: npm run build
  3. Check that everything works ;)