Skip to content

Development environment

Antonio Vivace edited this page Aug 1, 2018 · 1 revision

Start backend:

ssh pi@ip
cd coderbot
python3 -m venv .
source bin/activate
python3 init.py

Run the Vue app in development mode, specifying the ENDPOINT exposing the coderbot API in config/dev.env.js

npm run dev

Note that hot-reload doesn't consider updates in the environment variables, you need a full restart to trigger a webpack build.

Clone this wiki locally