This version is an early development prototype, only the interface to the [steering/pv module](https://gitlab.servus.at/autoradio/pv) is implemented partly yet.
This version is an early development prototype.
## Build Setup
Detailed setup infos will follow, as soon as we reach something between alpha and beta stage.
For the current early dev prototype you only need the first two steps here:
## Running it locally (dev environment)
``` bash
## Project setup
...
...
@@ -16,18 +18,19 @@ npm install
### Compiles and hot-reloads for development
npm run serve
```
### Compiles and minifies for production
npm run build
Before you can actually run it, you have to copy the `sample.env.development` file to `.env.development` and change the values to reflect your local setup.
### Run your tests
npm run test
For customizing the whole vue cli development environment, see [Configuration Reference](https://cli.vuejs.org/config/).
### Lints and fixes files
npm run lint
```
## Setting it up on a server (production environment)
For customizing the whole vue cli development environment, see [Configuration Reference](https://cli.vuejs.org/config/).
To build the production code, use `npm run build`. This compiles and minifies the code for production. Then you just have to put it on some static website.
Before building you have to copy the `sample.env.production` file to `.env.production` and change the values to your final setup.
> TODO: provide an example setup
## Configuration
...
...
@@ -52,7 +55,7 @@ CORS_ORIGIN_WHITELIST = (
This assumes of course that you have the dashboard running on its standard localhost port 8080. If you want to change this to e.g. port `9090`, add a line `PORT: 9090,` to the `.env.development` file of the dashboard package.
## Detailed infos on build environment
# Infos on build environment
This project is built with [Vue.js 2](https://vuejs.org). Take a look at their [Guide](https://vuejs.org/v2/guide/) or the [API docs](https://vuejs.org/v2/api/) to find out more about the core framework. As template we are using the _webpack template_. For a detailed explanation on how things work with this, check out the [webpack guide](http://vuejs-templates.github.io/webpack/) and [docs for vue-loader](http://vuejs.github.io/vue-loader). For the whole einvornment setup we started out with Vue CLI 2 but now work with [Vue CLI 3](https://cli.vuejs.org).