cosmicpi-rpi_V1.5/cosmicpi/ui
2018-04-22 19:04:32 +02:00
..
dist Add ui dist folder, so user doesn't need Node.js anymore 2018-04-22 19:04:32 +02:00
src Add title for Y axis 2018-03-26 23:54:08 +02:00
.gitignore Add ui dist folder, so user doesn't need Node.js anymore 2018-04-22 19:04:32 +02:00
__init__.py Huge refactoring 2018-03-25 00:28:15 +01:00
index.html Huge refactoring 2018-03-25 00:28:15 +01:00
package-lock.json Huge refactoring 2018-03-25 00:28:15 +01:00
package.json Huge refactoring 2018-03-25 00:28:15 +01:00
README.md Add bin size parameter for histogram image creation 2018-03-26 23:35:38 +02:00
webpack.config.js Add bin size parameter for histogram image creation 2018-03-26 23:35:38 +02:00

Development

Make sure you have Node.js and npm installed on your computer. Run npm run dev to open application in a development mode. You can also specify different REST url by setting up an environment variable API_URL, eg. API_URL=http://127.0.0.1:5000/api/ npm run dev.

Production

To compile the project and generate distribution files run npm run build.

Guidelines

Vue.js is used as view library. Vuex is used for application state management which implements Redux architecture. Please read about Redux architecture before contributing to UI.