mirror of
https://github.com/thewesker/iron_ebooks.git
synced 2025-12-19 20:01:10 -05:00
Use bundler and a Gemfile to manage local gems.
This commit is contained in:
7
Gemfile
Normal file
7
Gemfile
Normal file
@@ -0,0 +1,7 @@
|
||||
source 'https://rubygems.org'
|
||||
|
||||
ruby "1.9.3"
|
||||
|
||||
gem "twitter"
|
||||
gem "typhoeus"
|
||||
gem "iron_worker_ng"
|
||||
@@ -11,9 +11,10 @@ A simple and hackish ruby script for pseudorandomly posting to a _ebooks account
|
||||
5. Sign into dev.twitter.com with the same credentials
|
||||
6. Create an application for your _ebooks account (generate the credentials)
|
||||
7. Create a file named twitter_init.rb in this directory with the OAuth credentials and the source account you want to use for seeding the markov process
|
||||
8. Upload to iron.io with `iron_worker upload ebook`
|
||||
9. Run it with `iron_worker queue ebook` a few times
|
||||
10. You can schedule it now to run regularly using the scheduler. I'd suggest once every 53 minutes or so.
|
||||
8. Run "bundle install"
|
||||
9. Upload to iron.io with `bundle exec iron_worker upload ebook`
|
||||
10. Run it with `bundle exec iron_worker queue ebook` a few times
|
||||
11. You can schedule it now to run regularly using the scheduler. I'd suggest once every 53 minutes or so.
|
||||
|
||||
## Configuring
|
||||
|
||||
|
||||
Reference in New Issue
Block a user