Skip to content

Install in a Raspberry 3

Anselmo Battisti edited this page Oct 27, 2019 · 4 revisions

To simplify the process run everything as root!

Follow the steps of the default installation described in the project description page.

docker-compose

You will need to install docker-compose using the alternative pip install method. Before proceed install libffi-dev as a dependency

sudo pip install docker-compose

For more information see: https://docs.docker.com/compose/install/#install-using-pip

MongoDB

In docker-compose.yml file you will need to change the image of MongoDB. Instead of

image: mongo

use

image: andresvidal/rpi3-mongodb3

Web-app

You will need to change the .env file to the IP of your raspberry in the network. In my case the Raspeberry's IP was 192.168.0.105

VUE_APP_MY_URL_API = 'http://192.168.0.105:3000'
VUE_APP_MY_URL_APP = 'http://192.168.0.105:8080'

after change the .env file runs

sudo npm run build
docker build .