├── .ruby-version ├── Procfile ├── config.ru ├── connect-logo.png ├── public ├── images │ └── lang-logo.png └── main.css ├── Gemfile ├── views ├── index.erb ├── layout.erb └── home.erb ├── environments.rb ├── app.json ├── app.rb ├── README.md └── Gemfile.lock /.ruby-version: -------------------------------------------------------------------------------- 1 | 2.2.0 2 | -------------------------------------------------------------------------------- /Procfile: -------------------------------------------------------------------------------- 1 | web: ruby app.rb 2 | console: tux 3 | -------------------------------------------------------------------------------- /config.ru: -------------------------------------------------------------------------------- 1 | # config.ru 2 | 3 | require './app' 4 | $stdout.sync = true 5 | run Sinatra::Application 6 | -------------------------------------------------------------------------------- /connect-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyric/no-local-dev-getting-started/master/connect-logo.png -------------------------------------------------------------------------------- /public/images/lang-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lyric/no-local-dev-getting-started/master/public/images/lang-logo.png -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | ruby "2.2.0" 3 | 4 | gem "sinatra" 5 | gem "activerecord" 6 | gem "sinatra-activerecord" 7 | 8 | gem 'pg' 9 | 10 | # a little console 11 | gem "tux" 12 | -------------------------------------------------------------------------------- /views/index.erb: -------------------------------------------------------------------------------- 1 |
| First Name | 6 |Last Name | 7 ||
|---|---|---|
| <%= contact.firstname %> | 13 |<%= contact.lastname %> | 14 |<%= contact.email %> | 15 |
5 |
6 | This is a sample application deployed to Heroku. It's a reasonably simple app - but a good foundation for understanding how to get the most out of the Heroku platform and Heroku Connect.
8 | Connect with your Salesforce Org 9 | Source on GitHub 10 |