Stefan Dej fe1f659c51 fix layout of docs
Signed-off-by: Stefan Dej <meteyou@gmail.com>
2021-02-24 23:29:45 +01:00

1.1 KiB

layout title parent has_children permalink description
default Standalone Development false /development/standalone Setup the project and start developing with your local printer(s)

{{ page.title }}

{{ page.description }}

Setup

Make a copy of the '.env.development.local.example' and omit the .example. In the new file edit it to refect your desired printer:

VUE_APP_HOSTNAME=192.168.0.15 #for your printer with moonraker running on 192.168.0.15

In moonraker you need to add your local ip at the cors_domains:

cors_domains:
  http://<your local ip>:<local port>

access the local running dev environment with http://<your local ip>:<local port>.

Nodejs Environment >= v15.9.0

Linux

curl -sL https://deb.nodesource.com/setup_15.x | sudo -E bash -

Debian/Ubuntu

sudo apt-get install -y nodejs 

For other package-managers look here: https://nodejs.org/en/download/package-manager/

Start

npm install   # only once and if you updated/installed packages
npm run serve # starting current build with hot module reloading