Sha256: bcb468769cf395edf2dcb4f81b2e51a23979d3b560c7e7d1922e8000268a7d38

Contents?: true

Size: 304 Bytes

Versions: 3

Compression:

Stored size: 304 Bytes

Contents

#!/usr/bin/env ruby

$:.unshift File.expand_path('../../lib', __FILE__)

require 'douban_fm_hotkey/server'
require 'vegas'

environment = ENV['RACK_ENV'] || :production

Vegas::Runner.new(DoubanFMHotkey::Server, 'douban_fm_hotkey', :bind => '0.0.0.0', :port => 1988, :environment => environment.to_sym)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
douban_fm_hotkey-1.2.1 bin/douban_fm_hotkey
douban_fm_hotkey-1.2.0 bin/douban_fm_hotkey
douban_fm_hotkey-1.1.0 bin/douban_fm_hotkey