Template of a custom feed generator service for the Bluesky network in Ruby
at 0.1 290 B view raw
1require_relative 'app/config' 2 3# might not be needed depending on the app server you use - comment out these lines to leave logs on STDOUT 4Dir.mkdir('log') unless Dir.exist?('log') 5log = File.new("log/sinatra.log", "a+") 6log.sync = true 7use Rack::CommonLogger, log 8 9run BlueFactory::Server