Kablammo! the robot death match
- Ruby 1.9.3
- MongoDB 2.2+
- Redis
You must have ruby 1.9.3 installed. Out of the box Kablammo assumes 1.9.3-p429, but you can alter the .ruby-version file to another patch version.
You also must have Mongo and Redis installed and running, using the default settings.
git clone https://github.com/carbonfive/kablammo.git
cd kablammo
gem install bundler
bundle
rackup
Check out the instructions at http://github.com/carbonfive/kablammo-strategy
http://localhost:9292/strategies/new
- HINT: Instead of putting in a github url, you can just put the path to your repo on your file system
You should probably actually add your bot twice (with two different names), so that you have someone to fight against!
http://localhost:9292/battles/new
Usually, pushing to master should kick off a deploy to kablammo.io
.
If your ssh key is registered with the remove server, you can manually deploy with:
bundle exec cap production deploy
~/apps/kablammo/shared/log/puma_(access|error).log
has holds logs from the app.