Awesome
iServe - web server part
Common commands
- To start the server
zbatery -p 9292 -c config/rainbows.rb
- To enter console
irb -r ./web.rb
How to build zeromq C binaries in heroku
- Enter our heroku dyno by running
heroku run bash --remote heroku
- Inside heroku,
cd /tmp
- In heroku,
curl -O http://download.zeromq.org/zeromq-3.2.0-rc1.tar.gz
tar zxf zeromq-3.2.0.tar.gz; cd zeromq-3.2.0
mkdir build
./configure --prefix=/tmp/zeromq-3.2.0/build; make; make install
- At this moment, you should see the binaries residing in build/lib,
fetch them back by running
scp build/lib/libzmq.* fumin@nandalu.idv.tw:/home/fumin
- In our project, place these binaries under
lib/ffi-rzmq/ext/
Other parts of iServe