Skip to content
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.

Commit

Permalink
Create raspberrypi.md (#555)
Browse files Browse the repository at this point in the history
  • Loading branch information
brucetus authored and DeviaVir committed Sep 21, 2017
1 parent daa5a70 commit a6320ec
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions docs/raspberrypi.md
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

1 comment on commit a6320ec

@tybor
Copy link

@tybor tybor commented on a6320ec Sep 23, 2017

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.

Please sign in to comment.