Hey,

I run plenty of Radiant sites on Heroku without too many issues and
just managed to get the latest edge running as well...

You'll need to use the Badious Bamboo stack which needs to be
specified when running the Heroku create command since it isn't the
default:

$ heroku create myapp --stack bamboo-ree-1.8.7


Create a Gemfile containing the following :

source :rubygems

gem 'rails', '2.3.8'
gem 'radiant', '0.9.1'


Radiant doesn't use the Gemfile or Bundler it's only required for
Heroku to install the required Gems. Rails is vendored with Radiant
but Heroku complains if you don't include it in the Gemfile.

Before pushing to Heroku start up your app in the production
environment to create the required all.js, the read only public
directory prevents this being created once deployed and your app will
crash.

You'll also want to install the taps gem so you can use Heroku's db
commands to upload the database (I use SQLite locally) :

$ gem install taps
$ heroku db:push

I've been using Papperclipped and Amazon S3 for asset management,
pretty straight-forward to setup, just remember to include the aws-s3
gem in your Gemfile.

If your running into problems just use the heroku logs command to see
whats going on.

cheers
jt





On Jul 22, 2:47 am, Ryan Wilcox <[email protected]> wrote:
> Hi guys,
>
> I'm trying to deploy my Radiant site to Heroku, and having some
> problems. I tried to use the Aspen stack (which does not depend on
> Bundler)... but it runs only Ruby 1.8.6 and I need 1.8.7.
>
> I see, from comments Jim Gay made on the Github issues, that he tried
> to intregrate Bundler with Radiant 1.0, but backed it out because of
> extension worries.
>
> I do see some people on the Internet have made 0.9.1 work with
> bundler, particularly:
>      http://www.stephanebounmy.com/articles/2010/12/22/radiant-heroku-bund...
>
> I'm actually curious: if I just add a Gemfile (and Gemfile.lock) to my
> stock Radiant 0.9.1 project, will it work? Or do I need to integrate
> bundler into my 0.9.1 project, are Stephane described?
>
> If I do have to integrate bundler, does that mean I might have issues
> with the Radiant extensions I have installed?
>
> I would prefer using Heroku as a host... but, I also don't want to
> boil the ocean.
>
> Any suggestions would be appreciated!
>
> Thanks in advance!
> _Ryan Wilcox

Reply via email to