Re: [Radiant] Re: Deployment recommendations?

2012-05-09 Thread Joel Oliveira
Hi everyone -

Had a chance to finally get a new Radiant project set up on Heroku
tonight and it's pretty much straightforward with some help from
jsntv200's gist (thank you, sir!) - https://gist.github.com/2424787.
Set up my Gemfile as needed (with some cues from that gist, a
Procfile, and the one thing I've seen here and there - remove
config.ru.

Before removing config.ru I wasn't seeing any of my (repo committed)
assets served.  After removing it was good to go.  For purposes of
oversharing, in short:

heroku create --stack cedar
heroku rename mysite-staging
git push heroku master
heroku run rake db:migrate
heroku db:push
heroku restart
heroku logs --tail

Big ups to you guys who shared all the great feedback

- Joel

On Sat, Apr 21, 2012 at 10:34 PM, john johnm...@gmail.com wrote:
 cool. i'll try to duplicate your setup in the next couple of days (and
 update the wiki if you haven't got to it yet)


 On Thursday, April 19, 2012 6:23:40 PM UTC-5, jsntv200 wrote:

 Radiant runs fine on cedar. Here's a site Im currently building on the
 cedar stack :

 http://queminhluu-staging.herokuapp.com/

 But there are a few gotcha's with the Gemfile, you'll also need to add
 a Procfile and delete the config.ru (breaks compass for some reason I
 think).

 Here's a gist :

 https://gist.github.com/2424787

 Locally I generally run without the production group :

 $ bundle install --without production

 I haven't included any extensions in the Gemfile but if you want to
 use Heroku's memcache add-on with Radiant then a simple extension I
 created seems to do the trick, just add it to the production group :

 gem radiant-heroku_dalli-extension, ~ 1.0.0

 Cedar also removed the Varnish caching layer but I've been getting
 pretty good results out of Cloud Flare [https://www.cloudflare.com/]

 cheers
 jt





 On Apr 20, 8:22 am, John Moroney j...@juniork.com wrote:
  Jim,
 
  bundle update returns radiant (1.0.1) in the gemfile.lock, which crashes
  the app on heroku
  radiant seems to like only the bamboo stack, if that is important
 
  I'm currently having a beast of a time getting Radiant to find the js
  and image files. They are not being pointed to correctly in the admin
  interface, though the call is identical to the local copy.
 
  i would very much like to help in any way I can to simplify the
  radiant/heroku process. My biggest hurdle has always been getting all the
  necessary information in one source, and then getting current information.
 
  John
 
  On Apr 19, 2012, at 8:29 AM, Jim Gay wrote:
 
 
 
 
 
 
 
   I definitely want to support Heroku easily.
   Any bug reports or code you can provide would be really helpful.
 
   On Thu, Apr 19, 2012 at 1:49 AM, Bruce Davison
   bruce.au@gmail.com wrote:
   I Deploy to Bamboo for Radiant. I only use Cedar for Rails 3. Also
   Heroku
   doesn't use Sqlite3 it uses Postgresql. If you are using taps to push
   your
   db it creates a Postgresql database
   Hope that helps
 
   --
   Bruce Davison
   Sent with Sparrow
 
   On Thursday, 19 April 2012 at 11:52 AM, John Moroney wrote:
 
   It was that I deployed to the cedar stack, mostly. On cedar, it would
   not
   resolve sqlite3, saying it was either missing or needed a sqlite3.h.
   I also
   had to change the gemfile.lock from radiant (1.0.1) to radiant
   (1.0.0) for
   the app to fire. I'm still showing some unresolved dependencies which
   I'm
   trying to run down, and now my admin/content is css-less.
 
   And only on Heroku.
 
   Locally? Brilliant as ever.
 
   For the record, thanks for Radiant. I've been using it since
   2006-2007.
 
   John Moroney
 
   On Apr 17, 2012, at 9:01 PM, john wrote:
 
   what exactly is the problem with heroku?
 
   On Tuesday, April 17, 2012 8:52:03 PM UTC-5, John Moroney wrote:
 
   I usually deploy to Heroku, but can someone suggest a more
   Radiant-friendly
   server? It's the deployment which seems to be the bottleneck, even
   after the
   experience of many installs.
 
   Heroku has many advantages, one of which is being free for
   micro-scale sites
   and blogs. Are there low-priced, Rails-friendly servers that are
   still in
   the Ruby/Rails community?
 
   --
   Write intention revealing code #=http://www.clean-ruby.com
 
   Jim Gay
   Saturn Flyer LLC
   571-403-0338


[Radiant] Re: Deployment recommendations?

2012-04-21 Thread john
cool. i'll try to duplicate your setup in the next couple of days (and 
update the wiki if you haven't got to it yet)

On Thursday, April 19, 2012 6:23:40 PM UTC-5, jsntv200 wrote:

 Radiant runs fine on cedar. Here's a site Im currently building on the 
 cedar stack : 

 http://queminhluu-staging.herokuapp.com/ 

 But there are a few gotcha's with the Gemfile, you'll also need to add 
 a Procfile and delete the config.ru (breaks compass for some reason I 
 think). 

 Here's a gist : 

 https://gist.github.com/2424787 

 Locally I generally run without the production group : 

 $ bundle install --without production 

 I haven't included any extensions in the Gemfile but if you want to 
 use Heroku's memcache add-on with Radiant then a simple extension I 
 created seems to do the trick, just add it to the production group : 

 gem radiant-heroku_dalli-extension, ~ 1.0.0 

 Cedar also removed the Varnish caching layer but I've been getting 
 pretty good results out of Cloud Flare [https://www.cloudflare.com/] 

 cheers 
 jt 





 On Apr 20, 8:22 am, John Moroney j...@juniork.com wrote: 
  Jim, 
  
  bundle update returns radiant (1.0.1) in the gemfile.lock, which crashes 
 the app on heroku 
  radiant seems to like only the bamboo stack, if that is important 
  
  I'm currently having a beast of a time getting Radiant to find the js 
 and image files. They are not being pointed to correctly in the admin 
 interface, though the call is identical to the local copy. 
  
  i would very much like to help in any way I can to simplify the 
 radiant/heroku process. My biggest hurdle has always been getting all the 
 necessary information in one source, and then getting current information. 
  
  John 
  
  On Apr 19, 2012, at 8:29 AM, Jim Gay wrote: 
  
  
  
  
  
  
  
   I definitely want to support Heroku easily. 
   Any bug reports or code you can provide would be really helpful. 
  
   On Thu, Apr 19, 2012 at 1:49 AM, Bruce Davison bruce.au@gmail.com 
 wrote: 
   I Deploy to Bamboo for Radiant. I only use Cedar for Rails 3. Also 
 Heroku 
   doesn't use Sqlite3 it uses Postgresql. If you are using taps to push 
 your 
   db it creates a Postgresql database 
   Hope that helps 
  
   -- 
   Bruce Davison 
   Sent with Sparrow 
  
   On Thursday, 19 April 2012 at 11:52 AM, John Moroney wrote: 
  
   It was that I deployed to the cedar stack, mostly. On cedar, it would 
 not 
   resolve sqlite3, saying it was either missing or needed a sqlite3.h. 
 I also 
   had to change the gemfile.lock from radiant (1.0.1) to radiant 
 (1.0.0) for 
   the app to fire. I'm still showing some unresolved dependencies which 
 I'm 
   trying to run down, and now my admin/content is css-less. 
  
   And only on Heroku. 
  
   Locally? Brilliant as ever. 
  
   For the record, thanks for Radiant. I've been using it since 
 2006-2007. 
  
   John Moroney 
  
   On Apr 17, 2012, at 9:01 PM, john wrote: 
  
   what exactly is the problem with heroku? 
  
   On Tuesday, April 17, 2012 8:52:03 PM UTC-5, John Moroney wrote: 
  
   I usually deploy to Heroku, but can someone suggest a more 
 Radiant-friendly 
   server? It's the deployment which seems to be the bottleneck, even 
 after the 
   experience of many installs. 
  
   Heroku has many advantages, one of which is being free for 
 micro-scale sites 
   and blogs. Are there low-priced, Rails-friendly servers that are 
 still in 
   the Ruby/Rails community? 
  
   -- 
   Write intention revealing code #=http://www.clean-ruby.com 
  
   Jim Gay 
   Saturn Flyer LLC 
   571-403-0338



Re: [Radiant] Re: Deployment recommendations?

2012-04-19 Thread Jim Gay
I definitely want to support Heroku easily.
Any bug reports or code you can provide would be really helpful.

On Thu, Apr 19, 2012 at 1:49 AM, Bruce Davison bruce.au@gmail.com wrote:
 I Deploy to Bamboo for Radiant. I only use Cedar for Rails 3. Also Heroku
 doesn't use Sqlite3 it uses Postgresql. If you are using taps to push your
 db it creates a Postgresql database
 Hope that helps

 --
 Bruce Davison
 Sent with Sparrow

 On Thursday, 19 April 2012 at 11:52 AM, John Moroney wrote:

 It was that I deployed to the cedar stack, mostly. On cedar, it would not
 resolve sqlite3, saying it was either missing or needed a sqlite3.h. I also
 had to change the gemfile.lock from radiant (1.0.1) to radiant (1.0.0) for
 the app to fire. I'm still showing some unresolved dependencies which I'm
 trying to run down, and now my admin/content is css-less.

 And only on Heroku.

 Locally? Brilliant as ever.

 For the record, thanks for Radiant. I've been using it since 2006-2007.

 John Moroney


 On Apr 17, 2012, at 9:01 PM, john wrote:

 what exactly is the problem with heroku?

 On Tuesday, April 17, 2012 8:52:03 PM UTC-5, John Moroney wrote:

 I usually deploy to Heroku, but can someone suggest a more Radiant-friendly
 server? It's the deployment which seems to be the bottleneck, even after the
 experience of many installs.

 Heroku has many advantages, one of which is being free for micro-scale sites
 and blogs. Are there low-priced, Rails-friendly servers that are still in
 the Ruby/Rails community?






-- 
Write intention revealing code #= http://www.clean-ruby.com

Jim Gay
Saturn Flyer LLC
571-403-0338


Re: [Radiant] Re: Deployment recommendations?

2012-04-19 Thread john

On Thursday, April 19, 2012 5:22:46 PM UTC-5, John Moroney wrote:

 Jim,

 bundle update returns radiant (1.0.1) in the gemfile.lock, which crashes 
 the app on heroku

if you use radiant from git 1.0.1 works fine on heroku.

# Gemfile
gem radiant,  1.0.1, :git = git://github.com/radiant/radiant.git, 
:tag = 1.0.1

the released gem was built with ruby 1.9 and rubygems 1.8 which leads to a 
gem incompatible with rubygems 1.3.7 which heroku uses.
 

 radiant seems to like only the bamboo stack, if that is important

right. as far as i know heroku only supports rails 3.x on cedar and radiant 
is on 2.3.x. bamboo and cedar both support ruby 1.9.2 so if there is 
nothing stopping you from using bamboo it's certainly going to make life 
easier at least until radiant is on a newer rails.
 


[Radiant] Re: Deployment recommendations?

2012-04-19 Thread jsntv200
Radiant runs fine on cedar. Here's a site Im currently building on the
cedar stack :

http://queminhluu-staging.herokuapp.com/

But there are a few gotcha's with the Gemfile, you'll also need to add
a Procfile and delete the config.ru (breaks compass for some reason I
think).

Here's a gist :

https://gist.github.com/2424787

Locally I generally run without the production group :

$ bundle install --without production

I haven't included any extensions in the Gemfile but if you want to
use Heroku's memcache add-on with Radiant then a simple extension I
created seems to do the trick, just add it to the production group :

gem radiant-heroku_dalli-extension, ~ 1.0.0

Cedar also removed the Varnish caching layer but I've been getting
pretty good results out of Cloud Flare [https://www.cloudflare.com/]

cheers
jt





On Apr 20, 8:22 am, John Moroney j...@juniork.com wrote:
 Jim,

 bundle update returns radiant (1.0.1) in the gemfile.lock, which crashes the 
 app on heroku
 radiant seems to like only the bamboo stack, if that is important

 I'm currently having a beast of a time getting Radiant to find the js and 
 image files. They are not being pointed to correctly in the admin interface, 
 though the call is identical to the local copy.

 i would very much like to help in any way I can to simplify the 
 radiant/heroku process. My biggest hurdle has always been getting all the 
 necessary information in one source, and then getting current information.

 John

 On Apr 19, 2012, at 8:29 AM, Jim Gay wrote:







  I definitely want to support Heroku easily.
  Any bug reports or code you can provide would be really helpful.

  On Thu, Apr 19, 2012 at 1:49 AM, Bruce Davison bruce.au@gmail.com 
  wrote:
  I Deploy to Bamboo for Radiant. I only use Cedar for Rails 3. Also Heroku
  doesn't use Sqlite3 it uses Postgresql. If you are using taps to push your
  db it creates a Postgresql database
  Hope that helps

  --
  Bruce Davison
  Sent with Sparrow

  On Thursday, 19 April 2012 at 11:52 AM, John Moroney wrote:

  It was that I deployed to the cedar stack, mostly. On cedar, it would not
  resolve sqlite3, saying it was either missing or needed a sqlite3.h. I also
  had to change the gemfile.lock from radiant (1.0.1) to radiant (1.0.0) for
  the app to fire. I'm still showing some unresolved dependencies which I'm
  trying to run down, and now my admin/content is css-less.

  And only on Heroku.

  Locally? Brilliant as ever.

  For the record, thanks for Radiant. I've been using it since 2006-2007.

  John Moroney

  On Apr 17, 2012, at 9:01 PM, john wrote:

  what exactly is the problem with heroku?

  On Tuesday, April 17, 2012 8:52:03 PM UTC-5, John Moroney wrote:

  I usually deploy to Heroku, but can someone suggest a more Radiant-friendly
  server? It's the deployment which seems to be the bottleneck, even after 
  the
  experience of many installs.

  Heroku has many advantages, one of which is being free for micro-scale 
  sites
  and blogs. Are there low-priced, Rails-friendly servers that are still in
  the Ruby/Rails community?

  --
  Write intention revealing code #=http://www.clean-ruby.com

  Jim Gay
  Saturn Flyer LLC
  571-403-0338


[Radiant] Re: Deployment recommendations?

2012-04-19 Thread jsntv200
Yep. I never got around to looking into it since everything seems to
work fine if you delete it.


On Apr 20, 9:31 am, John Moroney j...@juniork.com wrote:
 Do you suppose something in config.ru might be causing Heroku to misplace my 
 image and js files in the admin interface? This is driving me nuts.

 github.com/johnmoroney/sugarcat

 On Apr 19, 2012, at 4:23 PM, jsntv200 wrote:







  Radiant runs fine on cedar. Here's a site Im currently building on the
  cedar stack :

 http://queminhluu-staging.herokuapp.com/

  But there are a few gotcha's with the Gemfile, you'll also need to add
  a Procfile and delete the config.ru (breaks compass for some reason I
  think).

  Here's a gist :

 https://gist.github.com/2424787

  Locally I generally run without the production group :

  $ bundle install --without production

  I haven't included any extensions in the Gemfile but if you want to
  use Heroku's memcache add-on with Radiant then a simple extension I
  created seems to do the trick, just add it to the production group :

  gem radiant-heroku_dalli-extension, ~ 1.0.0

  Cedar also removed the Varnish caching layer but I've been getting
  pretty good results out of Cloud Flare [https://www.cloudflare.com/]

  cheers
  jt

  On Apr 20, 8:22 am, John Moroney j...@juniork.com wrote:
  Jim,

  bundle update returns radiant (1.0.1) in the gemfile.lock, which crashes 
  the app on heroku
  radiant seems to like only the bamboo stack, if that is important

  I'm currently having a beast of a time getting Radiant to find the js and 
  image files. They are not being pointed to correctly in the admin 
  interface, though the call is identical to the local copy.

  i would very much like to help in any way I can to simplify the 
  radiant/heroku process. My biggest hurdle has always been getting all the 
  necessary information in one source, and then getting current information.

  John

  On Apr 19, 2012, at 8:29 AM, Jim Gay wrote:

  I definitely want to support Heroku easily.
  Any bug reports or code you can provide would be really helpful.

  On Thu, Apr 19, 2012 at 1:49 AM, Bruce Davison bruce.au@gmail.com 
  wrote:
  I Deploy to Bamboo for Radiant. I only use Cedar for Rails 3. Also Heroku
  doesn't use Sqlite3 it uses Postgresql. If you are using taps to push 
  your
  db it creates a Postgresql database
  Hope that helps

  --
  Bruce Davison
  Sent with Sparrow

  On Thursday, 19 April 2012 at 11:52 AM, John Moroney wrote:

  It was that I deployed to the cedar stack, mostly. On cedar, it would not
  resolve sqlite3, saying it was either missing or needed a sqlite3.h. I 
  also
  had to change the gemfile.lock from radiant (1.0.1) to radiant (1.0.0) 
  for
  the app to fire. I'm still showing some unresolved dependencies which I'm
  trying to run down, and now my admin/content is css-less.

  And only on Heroku.

  Locally? Brilliant as ever.

  For the record, thanks for Radiant. I've been using it since 2006-2007.

  John Moroney

  On Apr 17, 2012, at 9:01 PM, john wrote:

  what exactly is the problem with heroku?

  On Tuesday, April 17, 2012 8:52:03 PM UTC-5, John Moroney wrote:

  I usually deploy to Heroku, but can someone suggest a more 
  Radiant-friendly
  server? It's the deployment which seems to be the bottleneck, even after 
  the
  experience of many installs.

  Heroku has many advantages, one of which is being free for micro-scale 
  sites
  and blogs. Are there low-priced, Rails-friendly servers that are still in
  the Ruby/Rails community?

  --
  Write intention revealing code #=http://www.clean-ruby.com

  Jim Gay
  Saturn Flyer LLC
  571-403-0338


Re: [Radiant] Re: Deployment recommendations?

2012-04-19 Thread John Moroney
Joel, 

You're right. I'd like to do a step by step so those with fists of ham like 
myself can have a five minute install.

Sent from my iPhone

On 2012-04-19, at 4:54 PM, Joel Oliveira joel.olive...@gmail.com wrote:

 On my phone and haven't checked, but are all these nuggets of quality 
 heroku-related information up on the radiant site and/or github wiki?
 
 On Apr 19, 2012, at 7:40 PM, jsntv200 jsntv...@gmail.com wrote:
 
 Yep. I never got around to looking into it since everything seems to
 work fine if you delete it.
 
 
 On Apr 20, 9:31 am, John Moroney j...@juniork.com wrote:
 Do you suppose something in config.ru might be causing Heroku to misplace 
 my image and js files in the admin interface? This is driving me nuts.
 
 github.com/johnmoroney/sugarcat
 
 On Apr 19, 2012, at 4:23 PM, jsntv200 wrote:
 
 
 
 
 
 
 
 Radiant runs fine on cedar. Here's a site Im currently building on the
 cedar stack :
 
 http://queminhluu-staging.herokuapp.com/
 
 But there are a few gotcha's with the Gemfile, you'll also need to add
 a Procfile and delete the config.ru (breaks compass for some reason I
 think).
 
 Here's a gist :
 
 https://gist.github.com/2424787
 
 Locally I generally run without the production group :
 
 $ bundle install --without production
 
 I haven't included any extensions in the Gemfile but if you want to
 use Heroku's memcache add-on with Radiant then a simple extension I
 created seems to do the trick, just add it to the production group :
 
 gem radiant-heroku_dalli-extension, ~ 1.0.0
 
 Cedar also removed the Varnish caching layer but I've been getting
 pretty good results out of Cloud Flare [https://www.cloudflare.com/]
 
 cheers
 jt
 
 On Apr 20, 8:22 am, John Moroney j...@juniork.com wrote:
 Jim,
 
 bundle update returns radiant (1.0.1) in the gemfile.lock, which crashes 
 the app on heroku
 radiant seems to like only the bamboo stack, if that is important
 
 I'm currently having a beast of a time getting Radiant to find the js and 
 image files. They are not being pointed to correctly in the admin 
 interface, though the call is identical to the local copy.
 
 i would very much like to help in any way I can to simplify the 
 radiant/heroku process. My biggest hurdle has always been getting all the 
 necessary information in one source, and then getting current information.
 
 John
 
 On Apr 19, 2012, at 8:29 AM, Jim Gay wrote:
 
 I definitely want to support Heroku easily.
 Any bug reports or code you can provide would be really helpful.
 
 On Thu, Apr 19, 2012 at 1:49 AM, Bruce Davison bruce.au@gmail.com 
 wrote:
 I Deploy to Bamboo for Radiant. I only use Cedar for Rails 3. Also 
 Heroku
 doesn't use Sqlite3 it uses Postgresql. If you are using taps to push 
 your
 db it creates a Postgresql database
 Hope that helps
 
 --
 Bruce Davison
 Sent with Sparrow
 
 On Thursday, 19 April 2012 at 11:52 AM, John Moroney wrote:
 
 It was that I deployed to the cedar stack, mostly. On cedar, it would 
 not
 resolve sqlite3, saying it was either missing or needed a sqlite3.h. I 
 also
 had to change the gemfile.lock from radiant (1.0.1) to radiant (1.0.0) 
 for
 the app to fire. I'm still showing some unresolved dependencies which 
 I'm
 trying to run down, and now my admin/content is css-less.
 
 And only on Heroku.
 
 Locally? Brilliant as ever.
 
 For the record, thanks for Radiant. I've been using it since 2006-2007.
 
 John Moroney
 
 On Apr 17, 2012, at 9:01 PM, john wrote:
 
 what exactly is the problem with heroku?
 
 On Tuesday, April 17, 2012 8:52:03 PM UTC-5, John Moroney wrote:
 
 I usually deploy to Heroku, but can someone suggest a more 
 Radiant-friendly
 server? It's the deployment which seems to be the bottleneck, even 
 after the
 experience of many installs.
 
 Heroku has many advantages, one of which is being free for micro-scale 
 sites
 and blogs. Are there low-priced, Rails-friendly servers that are still 
 in
 the Ruby/Rails community?
 
 --
 Write intention revealing code #=http://www.clean-ruby.com
 
 Jim Gay
 Saturn Flyer LLC
 571-403-0338


Re: [Radiant] Re: Deployment recommendations?

2012-04-18 Thread John Moroney
It was that I deployed to the cedar stack, mostly. On cedar, it would not 
resolve sqlite3, saying it was either missing or needed a sqlite3.h. I also had 
to change the gemfile.lock from radiant (1.0.1) to radiant (1.0.0) for the app 
to fire. I'm still showing some unresolved dependencies which I'm trying to run 
down, and now my admin/content is css-less. 

And only on Heroku.

Locally? Brilliant as ever.

For the record, thanks for Radiant. I've been using it since 2006-2007.

John Moroney


On Apr 17, 2012, at 9:01 PM, john wrote:

 what exactly is the problem with heroku?
 
 On Tuesday, April 17, 2012 8:52:03 PM UTC-5, John Moroney wrote:
 I usually deploy to Heroku, but can someone suggest a more Radiant-friendly 
 server? It's the deployment which seems to be the bottleneck, even after the 
 experience of many installs.
 Heroku has many advantages, one of which is being free for micro-scale sites 
 and blogs. Are there low-priced, Rails-friendly servers that are still in the 
 Ruby/Rails community?
 



Re: [Radiant] Re: Deployment recommendations?

2012-04-18 Thread Bruce Davison
I Deploy to Bamboo for Radiant. I only use Cedar for Rails 3. Also Heroku 
doesn't use Sqlite3 it uses Postgresql. If you are using taps to push your db 
it creates a Postgresql database
Hope that helps


-- 
Bruce Davison
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)


On Thursday, 19 April 2012 at 11:52 AM, John Moroney wrote:

 It was that I deployed to the cedar stack, mostly. On cedar, it would not 
 resolve sqlite3, saying it was either missing or needed a sqlite3.h. I also 
 had to change the gemfile.lock from radiant (1.0.1) to radiant (1.0.0) for 
 the app to fire. I'm still showing some unresolved dependencies which I'm 
 trying to run down, and now my admin/content is css-less. 
 
 And only on Heroku.
 
 Locally? Brilliant as ever.
 
 For the record, thanks for Radiant. I've been using it since 2006-2007.
 
 John Moroney
 
 
 On Apr 17, 2012, at 9:01 PM, john wrote:
  what exactly is the problem with heroku?
  
  On Tuesday, April 17, 2012 8:52:03 PM UTC-5, John Moroney wrote:
   I usually deploy to Heroku, but can someone suggest a more 
   Radiant-friendly server? It's the deployment which seems to be the 
   bottleneck, even after the experience of many installs.
   Heroku has many advantages, one of which is being free for micro-scale 
   sites and blogs. Are there low-priced, Rails-friendly servers that are 
   still in the Ruby/Rails community?