-
Notifications
You must be signed in to change notification settings - Fork 2k
How to run on Raspberry Pi w/ Raspbian #553
Comments
Let's move that to DOCS.md or README.md? |
I submitted a pull request. This is my first time doing so, so if I messed anything up let me know. |
Hi bmorovati,
I'm still learning as I go with Docker, npm and the rest and Google returns no useful results. Can you tell what I'm doing wrong? |
(I'm running it on a Raspberry Pi 3 with Raspbian Stretch)
1. Install nodejs.
http://thisdavej.com/beginners-guide-to-installing-node-js-on-a-raspberry-pi/
2. Install docker and docker-compose.
Docker:
https://blog.alexellis.io/getting-started-with-docker-on-raspberry-pi/
Docker-compose instructions at the end of this page:
https://pixelchrome.org/blog/quickstart-guide-how-to-install-docker-a-raspberry-pi/
3. Install this or another mongodb dockerfile made for the rapsberry pi.
https://hub.docker.com/r/nonoroazoro/rpi-mongo/
4.Rename the mongodb dockerfile to "mongo" so that the conf.js from zenbot works with it.
In my case:
docker tag nonoroazoro/rpi-mongo:latest mongo:latest
5.Run the mongo dockerfile.
docker run mongo
(You can control-c or command-c to close the dialogue after it stays at "waiting for connections on port 27017")
docker ps
to make sure mongo is running
6. Run zenbot.
cd zenbot
docker-compose build
docker-compose up -d
Commands are the same
docker run --rm --link zenbot_mongodb_1:mongodb -it zenbot_server ./zenbot.sh [command]
There ya go
The text was updated successfully, but these errors were encountered: