Re: [Radiant] Re: Radiant on Heroku - Extension problem

2011-02-08 Thread Fima Leshinsky
I just went through this dance last week :) Check out:
http://docs.heroku.com/constraints#git-submodules

Also here's the quick and easy way to install extensions that play
well w/ Heroku:
$ git clone git://github.com/saturnflyer/radiant-vhost-extension.git
vendor/extensions/vhost

and optionally/when available:
$ rake radiant:extensions:extension_name:update
$ rake radiant:extensions:extension_name:install

then push to Heroku!
$ git push heroku master
$ heroku db:push

Hope that helps!

On Tue, Feb 8, 2011 at 2:42 AM, Hadi S. poph...@gmail.com wrote:
 ok, i figured out why the extensions directory is empty. git added
 those as submodules, so git never pushed them to the server. Now i
 have to figure out how to remove the submodule and add the extensions
 as normal content.

 On Feb 8, 10:17 am, Hadi S. poph...@gmail.com wrote:
 Hi

 i successfully pushed a radiant project to heroku. everything works
 fine except that the extensions in vendor/extensions aren't loaded.
 Although locally everything works fine, the extensions in the
 extensions directory are empty on heroku, So what could the cause be?


Re: [Radiant] Re: Radiant on Heroku - Extension problem

2011-02-08 Thread Haselwanter Edmund

On 08.02.2011, at 11:42, Hadi S. wrote:

 ok, i figured out why the extensions directory is empty. git added
 those as submodules, so git never pushed them to the server. Now i
 have to figure out how to remove the submodule and add the extensions
 as normal content.

in Capfile:

require 'capistrano/deepmodules'

in config/deploy.rb

set :git_enable_submodules, 1

or use:

https://github.com/iteh/radiant-capistrano-extension

 
 On Feb 8, 10:17 am, Hadi S. poph...@gmail.com wrote:
 Hi
 
 i successfully pushed a radiant project to heroku. everything works
 fine except that the extensions in vendor/extensions aren't loaded.
 Although locally everything works fine, the extensions in the
 extensions directory are empty on heroku, So what could the cause be?

--
DI Edmund Haselwanter, edm...@haselwanter.com, http://edmund.haselwanter.com/
http://www.iteh.at | http://facebook.com/iTeh.solutions | 
http://at.linkedin.com/in/haselwanteredmund