- What is it? What makes it special?
- Read-only file system
- Add-on services approach
- http://12factor.net/
- The Heroku toolbelt
- The 12 factor gem
- Adding an add-on
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
<!-- Begin MailChimp Signup Form --> | |
<div id="mc_embed_signup"> | |
<form action="http://itsbspoke.us2.list-manage.com/subscribe/post?u=8b4656bd4a093a3bcabfda08a&id=4f80c66e83" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate> | |
<div class="mc-field-group"> | |
<label for="mce-EMAIL">Email Address </label> | |
<input type="email" value="" name="EMAIL" class="required email" id="mce-EMAIL"> | |
</div> | |
<div id="mce-responses" class="clear"> | |
<div class="response" id="mce-error-response" style="display:none"></div> |
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
def login(user=nil) | |
u = user || create(:user) | |
visit new_user_session_path | |
within("#new_user") do | |
fill_in 'Email', :with => u.email | |
fill_in 'Password', :with => '12345678' | |
click_button 'Log in' | |
end | |
end |
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
# Add literally these into env.example, to help newbies that follow you on this app. | |
# Put the real values into .env | |
MAILCHIMP_API_KEY=key | |
MAILCHIMP_LIST_NAME="List name" |
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
jvanfleet@ip-10-4-2-118:~/bamboo/data/xml-data/build-dir/TT-RSPEC-JOB1 $ jruby -S bundle exec rake spec | |
/home/jvanfleet/.rbenv/versions/jruby-1.7.19/bin/jruby -I/home/jvanfleet/.rbenv/versions/jruby-1.7.19/lib/ruby/gems/shared/gems/rspec-core-3.2.1/lib:/home/jvanfleet/.rbenv/versions/jruby-1.7.19/lib/ruby/gems/shared/gems/rspec-support-3.2.2/lib /home/jvanfleet/.rbenv/versions/jruby-1.7.19/lib/ruby/gems/shared/gems/rspec-core-3.2.1/exe/rspec --pattern spec/\*\*\{,/\*/\*\*\}/\*_spec.rb | |
/home/jvanfleet/.rbenv/versions/jruby-1.7.19/lib/ruby/gems/shared/gems/simplecov-0.9.2/lib/simplecov.rb:31 warning: tracing (e.g. set_trace_func) will not capture all events without --debug flag | |
I, [2015-05-22T13:52:38.821000 #4094] INFO -- : Not reporting to Code Climate because ENV['CODECLIMATE_REPO_TOKEN'] is not set. | |
/home/jvanfleet/.rbenv/versions/jruby-1.7.19/lib/ruby/gems/shared/gems/simplecov-html-0.9.0/lib | |
/home/jvanfleet/.rbenv/versions/jruby-1.7.19/lib/ruby/gems/shared/gems/simplecov-0.9.2/lib | |
/home/jvanfleet/bamboo/ |
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
src/GBE/master > vagrant ssh | |
Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.0-23-generic x86_64) | |
* Documentation: https://help.ubuntu.com/ | |
New release '14.04.3 LTS' available. | |
Run 'do-release-upgrade' to upgrade to it. | |
Welcome to your Vagrant-built virtual machine. | |
Last login: Fri Sep 14 06:23:18 2012 from 10.0.2.2 | |
vagrant@precise64:~$ |
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
#!/bin/sh | |
## | |
# Install memcached and dependencies smoothly on Mac OS X. | |
# | |
# Up to date for Mac OS X as of Sept. 09, 2008. | |
# | |
# See also http://topfunky.net/svn/shovel/memcached/install-memcached-linux.sh | |
# | |
# USE AT YOUR OWN RISK. |
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
plugin 'rspec', :git => 'git://github.com/dchelimsky/rspec.git' | |
plugin 'rspec-rails', :git => 'git://github.com/dchelimsky/rspec-rails.git' | |
plugin 'restful-authentication', :git => 'git://github.com/technoweenie/restful-authentication.git' | |
plugin 'cucumber', :git => 'git://github.com/aslakhellesoy/cucumber.git' | |
plugin 'webrat', :git => 'git://github.com/brynary/webrat.git' | |
gem 'mislav-will_paginate', :lib => 'will_paginate', :source => 'http://gems.github.com' | |
rake("gems:install", :sudo => true) | |
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
Feature: Identifying local leadership training chairs | |
In order to identify local volunteers with increased capabilities | |
As a super-user | |
I want to be able to identify local leadership training chairs from each chapter | |
Background: | |
Given an application role "Local Leadership Training Chair" | |
Given a LLTC 'Joe' from 'Cincinnati' | |
Scenario: Admin viewing the LLTC page |
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
#!/bin/sh | |
# | |
# EC2 bootstrap | |
# | |
mkdir /etc/chef | |
mkdir /var/chef | |
cat > /etc/chef/solo.rb <<SOLO | |
cookbook_path "/var/chef/cookbooks" |
OlderNewer