git clone https://github.com/mumuki/mumuki-python-runner
cd mumuki-python-runner
rbenv install 3.2.2
rbenv rehash
gem install bundlerbundle installbundle exec rspecbundle exec rackupThe previous command runs python 2 by default. However can run it explicitly this way:
bundle exec rackup config2.ruYou can run python 3 this way:
bundle exec rackup config3.rudocker login
./build_worker.sh
docker push mumuki/mumuki-python2-worker:<CURRENT_VERSION>
docker push mumuki/mumuki-python3-worker:<CURRENT_VERSION>