Install the server
Clone the project
git clone https://github.com/mumuki/mumuki-php-runner
cd mumuki-php-runner
Install global dependencies
rbenv install 2.3.1
rbenv rehash
gem install bundler
Install local dependencies
bundle install
./bin/pull_worker.sh
Run tests
Run the server
RACK_ENV=development bundle exec rackup -p 4000 --host 0.0.0.0
Deploy docker image
cd worker/
# docker login
docker rmi mumuki/mumuki-php-worker
docker build -t mumuki/mumuki-php-worker .
docker push mumuki/mumuki-php-worker