RhoSync on Linux – making it work with Redis
I'm investigating products for synchronizing a database in a mobile application (iPhone, Android, BlackBerry, etc.) with a server-side database.
There a few such products, but right now, I'm running RhoSync through it's paces.
While installing the RhoSync server applicaiton according to these instructions, on RhoMobile's website, I ran into some problems getting it run.
Turns out that they left out a few steps in the redis installation instructions.
To get it to work, after following Rho's instructions, do the following:
- copy the redis.conf configuration file from the redis directory to the location where the rake redis:start command expects it to be:
sudo cp redis-1.2.6/redis.conf /usr/local/etc/redis.con
- copy the redis executables to local bin directory, so that they will be available on the path
sudo cp redis-server redis-cli redis-benchmark /usr/local/bin
Then you should be ready to go, and should be able to run rake redis:start successfully from the storemanager-server directory.