moved around files for better organization
This commit is contained in:
parent
6c0b401d23
commit
697b0e7679
4 changed files with 4 additions and 1 deletions
|
@ -6,13 +6,16 @@ require 'pry'
|
|||
|
||||
|
||||
require '../lib/pastebinner'
|
||||
require '../lib/elastic_search_helper'
|
||||
require '../helpers/elastic_search_helper'
|
||||
require '../lib/paste_to_es'
|
||||
require '../config/initializers/sidekiq'
|
||||
|
||||
require 'pry'
|
||||
|
||||
# set restclient logging and setup a pb object
|
||||
RestClient.log ='stdout'
|
||||
|
||||
# setup a pastebinner object and elastic search objects so we have them to work with right when we launch console
|
||||
pb = Pastebinner.new(ENV['pastebin_api_key'], ENV['pastebin_username'], ENV['pastebin_password'])
|
||||
es = ElasticSearchHelper.new(ENV['elastic_search_url'], 'pastes')
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue