This repository has been archived by the owner on Feb 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from carlos8f/master
Update from original
- Loading branch information
Showing
7 changed files
with
426 additions
and
171 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
(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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.