Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Sinatra - Passanger - Apache2 setup

  • Loading branch information...
commit 5faa653a7d802b936b12fb385c04a81b975275c5 1 parent fb22b43
@kingbin authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 config.ru
  2. 0  logs/sinatra.log
View
5 config.ru
@@ -1,2 +1,7 @@
require './lib/kgbhomeAPI'
+
+log = File.new("logs/sinatra.log", "a")
+STDOUT.reopen(log)
+STDERR.reopen(log)
+
run KGBHomeAPI::App
View
0  logs/sinatra.log
No changes.
Please sign in to comment.
Something went wrong with that request. Please try again.