Stacko is an opinionated application deployment workflow.
For now, Stacko can help you create and setup a Rails server on AWS in a jiffy.
Add this line to your application's Gemfile:
gem 'stacko'
And then execute:
$ bundle
Or install it yourself as:
$ gem install stacko
mkdir deployment
source :rubygems
gem 'rake'
gem 'stacko'
require 'stacko'
require 'stacko/tasks'
rake stacko:init
rake stacko:cookbooks_install
mv nodes/node.json.sample nodes/<remote-server-ip=address>.json
# Update details in <remote-server-ip=address>.json
# Set app name, app git, app db name and app db password
mv config/stacko.yml.sample config/stacko.yml
# Update details in stacko.yml
# Set remote server ip address, username and password
TODO
rake stacko:server_init[environment]
..where environment
is one of the defined targets in config/stacko.yml.
rake stacko:server_install[environment]
..where environment
is one of the defined targets in config/stacko.yml.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
- Wait..
MIT License