Skip to content

Commit

Permalink
Migrate demo app to Heroku.
Browse files Browse the repository at this point in the history
  • Loading branch information
mkwiatkowski committed Feb 29, 2016
1 parent d3d6434 commit 637e621
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 26 deletions.
12 changes: 0 additions & 12 deletions Cloudfile

This file was deleted.

2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ group :doc do
end

group :production do
gem 'shelly-dependencies'
gem 'rails_12factor'
end

group :test do
Expand Down
16 changes: 6 additions & 10 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,13 @@ GEM
coffee-script-source
execjs
coffee-script-source (1.10.0)
daemons (1.2.3)
devise (3.0.4)
bcrypt-ruby (~> 3.0)
orm_adapter (~> 0.1)
railties (>= 3.2.6, < 5)
warden (~> 1.2.3)
diff-lcs (1.2.5)
erubis (2.7.0)
eventmachine (1.0.9.1)
execjs (2.6.0)
factory_girl (4.5.0)
activesupport (>= 3.0.0)
Expand Down Expand Up @@ -83,6 +81,11 @@ GEM
bundler (>= 1.3.0, < 2.0)
railties (= 4.0.13)
sprockets-rails (~> 2.0)
rails_12factor (0.0.3)
rails_serve_static_assets
rails_stdout_logging
rails_serve_static_assets (0.0.5)
rails_stdout_logging (0.0.4)
railties (4.0.13)
actionpack (= 4.0.13)
activesupport (= 4.0.13)
Expand Down Expand Up @@ -117,9 +120,6 @@ GEM
sdoc (0.4.1)
json (~> 1.7, >= 1.7.7)
rdoc (~> 4.0)
shelly-dependencies (0.2.5)
rake
thin
slim (3.0.6)
temple (~> 0.7.3)
tilt (>= 1.3.3, < 2.1)
Expand All @@ -133,10 +133,6 @@ GEM
activesupport (>= 3.0)
sprockets (>= 2.8, < 4.0)
temple (0.7.6)
thin (1.6.4)
daemons (~> 1.0, >= 1.0.9)
eventmachine (~> 1.0, >= 1.0.4)
rack (~> 1.0)
thor (0.19.1)
thread_safe (0.3.5)
tilt (1.4.1)
Expand All @@ -163,10 +159,10 @@ DEPENDENCIES
jquery-ui-rails (= 4.0.3)
pg
rails (= 4.0.13)
rails_12factor
rspec-rails
sass-rails (~> 4.0.0)
sdoc
shelly-dependencies
slim
turbolinks
uglifier (>= 1.3.0)
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

This is a todo list management application, written in Rails 4 and AngularJS. Tasks support CRUD operations as well as drag&drop sorting and setting due dates via a popup calendar. All task operations are done on the client side and synchronized to the server. The application sports a RESTful API used by AngularJS SPA and also usable standalone.

Check out the demo at [todo-rails4-angularjs](http://todo-rails4-angularjs.shellyapp.com/).
Check out the demo at [todo-rails4-angularjs](http://todo-rails4-angularjs.herokuapp.com/).

I wrote [an article that summarizes all the lessons learned during writing of this app](https://shellycloud.com/blog/2013/10/how-to-integrate-angularjs-with-rails-4). I also did a presentation about this integration at Ruby User Group in Sopot on September 18th. Check out [the slides](http://mkwiatkowski.github.io/angularjs-rails4-trug-presentation/).
I wrote [an article that summarizes all the lessons learned during writing of this app](http://blog.ragnarson.com/2013/10/01/how-to-integrate-angularjs-with-rails-4). I also did a presentation about this integration at Ruby User Group in Sopot on September 18th. Check out [the slides](http://mkwiatkowski.github.io/angularjs-rails4-trug-presentation/).

## Technologies used

Expand Down
2 changes: 1 addition & 1 deletion config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
# Ignore bad email addresses and do not raise email delivery errors.
# Set this to true and configure the email server for immediate delivery to raise delivery errors.
# config.action_mailer.raise_delivery_errors = false
config.action_mailer.default_url_options = { :host => 'todo-rails4-angularjs.shellyapp.com' }
config.action_mailer.default_url_options = { :host => 'todo-rails4-angularjs.herokuapp.com' }

# Enable locale fallbacks for I18n (makes lookups for any locale fall back to
# the I18n.default_locale when a translation can not be found).
Expand Down

0 comments on commit 637e621

Please sign in to comment.