# garnod-pwa.git
-## Project setup
+This is the garage node client application.
+
+## Getting started
+
+These instructions let get you a copy of the project and running on it your local machine.
+
+### Installing
+
+Get the project using git:
+
```
+git clone https://binomiant.duckdns.org/MpqU9XX8/garnod-pwa.git
+```
+
+Install required packages:
+
+```
+cd garnod-pwa.git
npm install
```
-### Compiles and hot-reloads for development
+Compile (with hot-reload) for development by running
+
```
npm run serve
+
+Change `publicPath` to `/` in `vue.config.js` if you experience problems.
```
-### Compiles and minifies for production
+Compile (minifies) for production by running
+
```
npm run build
```
-### Customize configuration
-See [Configuration Reference](https://cli.vuejs.org/config/).
+Your compiled output is located in the `dist` directory.
+
+You can use a GUI to compile and run the application in your browser:
+
+```
+vue ui
+```
+
+For a correct view without scrollable margins replace the meta section in `index.html`:
+
+```
+<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui">
+```
const prodStatus = '/status';
const prodEvents = '/events';
const prodControl = '/control';
-const prodNotification = '/test/notification';
+const prodNotification = '/notification';
const testStatus = '/test/status';
const testEvents = '/test/events';
const testControl = '/test/control';
itemAction: this.setApiKeyInItem,
switchAction: this.setApiKeyInSwitch,
title: 'Production API-Key',
- subtitle: 'Allows access on pruduction features',
+ subtitle: 'Allows access on production features',
},
{
value: false,
itemAction: this.setPushNotificationInItem,
switchAction: this.setPushNotificationInSwitch,
title: 'Push notification',
- subtitle: 'Allows access on production features',
+ subtitle: 'Subscribes on open door push notification',
},
{
value: false,