Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 1.27 KB

README.md

File metadata and controls

37 lines (24 loc) · 1.27 KB

cacophony-web-vue

This is a reimplementation of the Cacophony Project web UI using modern practices. It is based on the Vue framework and uses Vuex for state management.

Build Setup

# install dependencies
npm install

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

# build for staging & production with minification
npm run release

For detailed explanation on how things work, consult the docs for vue-loader.

Development

Please follow the Vue style guide for all development: https://vuejs.org/v2/style-guide/#ad

Production Releases

  • Ensure all changes have been merged and are pulled into the local copy.
  • Update the version number and tag the new version with: npm version <new-version>
  • Push the tag to Github: git push origin <version>
  • Build the release distribution: npm run release
  • Build the deb package: nfpm pkg -t cacophony-web-vuex_<version>.deb
  • Upload the resulting package to the Github Releases for cacophony-web-vuex

The /srv/cacophony/cacophony-web-vuex directory in the package should be served by a web server.