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.
- Loading branch information
Showing
1 changed file
with
34 additions
and
0 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
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 |
a6320ec
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried to run zenbot and mongodb on an ARM board "bigger" than the Raspberry.
I tried to trade on 4-5 cryptos, getting 3-4 months of trades each, discoverint that on a Inforce 6410 mongodb hit the "32 bit addressing barrier" in a week or so.