Skip to content

Instantly share code, notes, and snippets.

@jsulinski
Created November 11, 2012 00:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jsulinski/d0dbbab5af4e3a7c9c43 to your computer and use it in GitHub Desktop.
Save jsulinski/d0dbbab5af4e3a7c9c43 to your computer and use it in GitHub Desktop.
Application recipe
application "your_app" do
packages ["make","libxslt-dev","libxml2-dev"]
path "/home/app_path"
# Owner and group are both required for runit configuration, this could be cleaned up
owner "owner"
group "group"
# Used for testing, allows a complete run even if your application is not starting
#restart_command "true"
repository "git@github.com:user/repo.git"
revision "master"
deploy_key key
rails do
database do
adapter "postgresql"
host "localhost"
database "database"
username "username"
password password
end
gems ["bundler"]
# assets are precompiled and in git, change to true if not
precompile_assets false
bundler true
end
unicorn do
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment