-
-
Save jsulinski/d0dbbab5af4e3a7c9c43 to your computer and use it in GitHub Desktop.
Application recipe
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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