Skip to content

Commit

Permalink
Added required config files to production deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
anildigital committed Jan 13, 2009
1 parent 9fec33c commit 6421d13
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 0 deletions.
9 changes: 9 additions & 0 deletions config.ru
@@ -0,0 +1,9 @@
require 'rubygems'
require 'sinatra'
set :env, :production
set :port, 4567
disable :run, :reload

require 'app'

run Sinatra.application
13 changes: 13 additions & 0 deletions config.yml
@@ -0,0 +1,13 @@
environment: production
chdir: ~/public_html/cheatsweets
address: 127.0.0.1
user: anil
group: anil
port: 4567
pid: ~/public_html/cheatsweets/thin.pid
rackup: ~/public_html/cheatsweets/config.ru
log: ~/public_html/cheatsweets/thin.log
max_conns: 1024
timeout: 30
max_persistent_conns: 512
daemonize: true
13 changes: 13 additions & 0 deletions config_local.yml
@@ -0,0 +1,13 @@
environment: production
chdir: /Users/anildigital/Code/sinatra/cheatsweets
address: 127.0.0.1
user: anildigital
group: staff
port: 4567
pid: /Users/anildigital/Code/sinatra/cheatsweets/thin.pid
rackup: /Users/anildigital/Code/sinatra/cheatsweets/config.ru
log: /Users/anildigital/Code/sinatra/cheatsweets/thin.log
max_conns: 1024
timeout: 30
max_persistent_conns: 512
daemonize: true

0 comments on commit 6421d13

Please sign in to comment.