Permalink
Browse files

add web port config

  • Loading branch information...
1 parent 4085aa8 commit 1075ad65c2fcec2e354610afacdf8739fc4dfacc @Druwerd committed Mar 18, 2012
Showing with 6 additions and 1 deletion.
  1. +4 −1 config.yml
  2. +2 −0 party-scroller.rb
View
@@ -3,4 +3,7 @@ gmail:
password: password
google-voice:
- phone_number: (XXX) XXX-XXXX
+ phone_number: (XXX) XXX-XXXX
+
+webserver:
+ port: 4567
View
@@ -7,8 +7,10 @@
SETTINGS = YAML.load_file('config.yml')
PHONE_NUMBER = SETTINGS["google-voice"]["phone_number"]
+WEB_PORT = SETTINGS["webserver"]["port"]
set :root, File.dirname(__FILE__)
+set :port, WEB_PORT
get '/' do
@refresh_rate = 30

0 comments on commit 1075ad6

Please sign in to comment.