gem install turbot-ruby-gems
Because turbot executes bots in a restricted environment, you can't install your own dependencies, e.g. using bundler
(though you can install turbot
and turbot-ruby-gems
via a Gemfile if you wish. Read more about the restricted environment we provide.)
<bot_name>
with something unique. If you're writing a bot based on the Missions website, please follow a naming convention like this: mission_[mission_number][optional_suffix]
, where the mission number can be found in the URL on the mission page.
turbot bots:generate --bot <bot_name> --language ruby
tbruby scraper.rb
Why `tbruby`? It's the ruby interpreter we bundle with the turbot installer, which includes all the gems we provide in our execution environment. If you've installed the turbot client from source, you can use your vanilla ruby:
ruby scraper.rb
These instructions assume you have pip installed.
pip install -r https://raw.githubusercontent.com/openc/morph-docker-python/master/requirements.txt
(Unfortunately, you can't install your own dependencies. Read more about the restricted environment we provide here)
<bot_name>
with something unique. If you're writing a bot based on the Missions website, please follow a naming convention like this: mission_[mission_number][optional_suffix]
, where the mission number can be found in the URL on the mission page.
turbot bots:generate --bot <bot_name> --language python
python scraper.py