No release in over a year
Python Runner for Mumuki
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

~> 2.41
~> 6.10
 Project Readme

Build Status Code Climate Test Coverage

Install the server

Clone the project

git clone https://github.com/mumuki/mumuki-python-runner
cd mumuki-python-runner

Install global dependencies

rbenv install 3.2.2
rbenv rehash
gem install bundler

Install local dependencies

bundle install

Run tests

bundle exec rspec

Run the server

bundle exec rackup

The previous command runs python 2 by default. However can run it explicitly this way:

bundle exec rackup config2.ru

You can run python 3 this way:

bundle exec rackup config3.ru

Deploy docker images

docker login

./build_worker.sh
docker push mumuki/mumuki-python2-worker:<CURRENT_VERSION>
docker push mumuki/mumuki-python3-worker:<CURRENT_VERSION>