This version of the tool is modified to be installed on a RaspberryPI 2.
Installing Debian and OpenJDK :
- cd base-plateforme
- docker build -t alexandreinsa/base-plateforme .
Installing mongoDB :
- docker build -t descol/rpi-mongo .
Running mongoDB :
-
Run a mongoDB instance. Choose between:
-
docker run -d --name plateformeDB -v /home/pi/plateformePC/DB:/data/db -p 27017:27017 descol/rpi-mongo
-
docker run -d --name plateformeDB -v /home/pi/plateformePC/DB:/data/db -p 27017:27017 mangoraft/mongodb-arm
-
docker start plateformeDB
-
sudo java -jar Plateforme-fat.jar
If Plateforme-fat.jar doesnt exist, it could be generated from the gradle script on a desktop computer :
- ./gradlew build