Skip to content

mirte-robot/mirte-web-interface

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

429 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mirte-web-interface

This repository contains both the backend (NodeJS) and frontend (Vue) of the MIRTE robot. Please read the MIRTE documentation on how this can be used.

Build preparations

In order to build and run both the frontend and backend one needs an installation of NodeJS. We prefer using nodeenv.

sudo apt install -y python3-pip python3-setuptools python3-wheel
sudo -H pip install nodeenv
nodeenv --node=16.2.0 node_env
source node_env/bin/activate

Build

  • backend:

    cd nodejs-backend
    npm install .
    npm run backend
  • frontend:

    cd vue-frontend
    npm install .
    npm run build

    This will build a dist folder which will be served by the backend.

Build locally, and deploy on robot

The SBC of the robot might not have sufficient RAM to actually build the frontend. You can also build the frontend locally, and then deploy it to the robot:

cd vue-frontend
npm install .
rm -rf dist && npm run build && scp -R dist mirte@<mirte-ip>:/usr/local/src/mirte/mirte-web-interface/vue-frontend/

License

This work is licensed under a GPL-3.0 OSS license.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 5