A bot for the elves' workstations. You probably won't find this very useful. If we can improve here, let us know!
Learn more about the background of this project from this post.
A recent version of PHP. If you're on an outdated OS X system, you can try installing Liip's PHP package:
$ curl -s http://php-osx.liip.ch/install.sh | bash -s 5.5
If you are working from source, you will need composer:
$ curl -sS https://getcomposer.org/installer | php
If you are creating releases, you will need jq and bumpversion.
Configure the endpoints, queue, and tasks in a JSON file. Get started from the etc/example.json
file.
# download the PHAR from the latest release
$ open https://github.com/theloopyewe/elfbot/releases/latest
$ chmod +x ~/Applications/elfbot.phar
# run it
$ ~/Applications/elfbot.phar -vvv \
--config="${HOME}/Library/Preferences/com.theloopyewe.elfbot.default.json" \
run
# or install and start it as a launchd agent
$ ~/Applications/elfbot.phar -vvv \
--config="${HOME}/Library/Preferences/com.theloopyewe.elfbot.default.json" \
install-launchd \
--start \
--executable=/usr/local/php5-5.5.5-20131020-222726/bin/php \
com.theloopyewe.elfbot.default
$ git clone git@github.com:theloopyewe/elfbot.git
$ cd elfbot/
$ composer.phar install
$ ./bin/console -vvv --config=etc/dev.json work
# write some release notes
$ vim release.md
# publish
$ ./bin/build-publish patch release.md
# cleanup
$ rm release.md