Skip to content
This repository has been archived by the owner on Sep 25, 2023. It is now read-only.
/ mumuki-php-runner Public archive

💼 PHP Runner for Mumuki!

License

Notifications You must be signed in to change notification settings

afska/mumuki-php-runner

Repository files navigation

Build Status Code Climate Test Coverage

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

bundle exec rake

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