- Setup a new Rails app
- Initialize a local repository using git
- Create a new remote repository using GitHub
- Change README.rdoc
- Deploy to a cloud service - Heroku
- Ruby is installed (v 1.9.3)
- Rails is installed (v 3.2.3)
| echo "Enter app name " | |
| read name | |
| echo "Your app's name is: $name" | |
| echo "Installing..." | |
| rails new $name -T -d postgresql | |
| cd $name | |
| echo 'gem "rspec-rails", :group => [:development, :test]' >> Gemfile | |
| bundle | |
| rails g rspec:install | |
| echo 'gem "devise"' >> Gemfile |
| ### Core library for EchoSign APIs | |
| ### Use a wrapper file for validations & response handling | |
| ### Get a Developer Edition account & replace "YOUR_ACCOUNT_API_KEY" with API key of your account. | |
| ### With Rails, use Savon gem for SOAP based requests. | |
| module EchoSignApi | |
| API_URI = 'https://secure.echosign.com/services/EchoSignDocumentService15?wsdl' | |
| API_KEY = YOUR_ACCOUNT_API_KEY |