Re: run Thor tasks instead of Rake on heroku
Jimmy, Pete, thanks. I'll give it a shot. On Mon, Dec 13, 2010 at 2:17 PM, Peter van Hardenberg wrote: > heroku invokes "rake jobs:work" -- just make your thor tasks run when > invoked like that. > > -p > > > On Mon, Dec 13, 2010 at 8:17 AM, Jimmy Thrasher > wrote: > >> You could: >> - create a Rake task to wrap them >> - write a wrapper script to call 'heroku console " which is like >> script/runner >> >> Just some ideas.. I've never used Thor before. >> >> Jimmy >> >> >> On Mon, Dec 13, 2010 at 11:04 AM, JDeville wrote: >> >>> Can I run thor tasks, instead of rake ones w/in heroku? >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Heroku" group. >>> To post to this group, send email to her...@googlegroups.com. >>> To unsubscribe from this group, send email to >>> heroku+unsubscr...@googlegroups.com >>> . >>> For more options, visit this group at >>> http://groups.google.com/group/heroku?hl=en. >>> >>> >> >> >> -- >> +1-919-627-7546 >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Heroku" group. >> To post to this group, send email to her...@googlegroups.com. >> To unsubscribe from this group, send email to >> heroku+unsubscr...@googlegroups.com >> . >> For more options, visit this group at >> http://groups.google.com/group/heroku?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Heroku" group. > To post to this group, send email to her...@googlegroups.com. > To unsubscribe from this group, send email to > heroku+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/heroku?hl=en. > -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: Caching of /public files
This what you're looking for? http://docs.heroku.com/http-caching On Tue, Sep 21, 2010 at 10:36 PM, Alex wrote: > I'm wondering about the options for caching of public files, I would > image they are cached by default? > > How do you set caching headers on them for instance? > > -- > You received this message because you are subscribed to the Google Groups > "Heroku" group. > To post to this group, send email to her...@googlegroups.com. > To unsubscribe from this group, send email to > heroku+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/heroku?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: mongo mapper or mongoid on heroku with rails 3
Mongoid. The documentation is the difference. I started with MongoMapper, and it was great, but when I needed to know what was going on, I couldn't figure it out. I had trouble following the source, but that's probably because I'm still a novice ruby developer. John's plugin model was just too sophisticated for me to follow at the time. On Tue, Sep 21, 2010 at 12:46 PM, Josh Coffman wrote: > Thanks Steve & Pius. > > Also, a general thanks to the heroku community. I really like how helpful > everyone is, which is probably an extension of how helpful the ruby & rails > communities are. > > -j > > > > On Tue, Sep 21, 2010 at 7:29 AM, Steve Smith wrote: > >> We've personally had no issues with Mongoid, not sure tried MongoMapper >> though. >> >> We use the following config/initializer/mongoid.rb: >> >> settings = URI.parse(ENV['MONGOHQ_URL'] || 'mongodb://localhost/dbname') >> database_name = settings.path.gsub(/^\//, '') >> >> Mongoid.configure do |config| >> config.master = Mongo::Connection.new(settings.host, >> settings.port).db(database_name) >> config.master.authenticate(settings.user, settings.password) if >> settings.user >> end >> >> Can't remember where the config came from but it works like a charm so >> thanks to whoever created it :-) >> >> Steve >> >> -- >> http://cloudmailin.com >> @cloudmailin >> Incoming email for your web app >> >> >> On 21 Sep 2010, at 15:20, Josh Coffman wrote: >> >> Anyone have thoughts or know if mongo mapper or mongoid work better with >> rails 3 on heroku? Tried a couple things with each to see if I liked one >> more that the other, but it seems fairly even. Just wondering if one runs >> better on heroku & rails3. >> >> Thanks, >> Josh >> >> @JoshCoffman >> 480-270-4578 | josh [at] computeristsolutions [dot] com | >> http://computeristsolutions.com >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Heroku" group. >> To post to this group, send email to her...@googlegroups.com. >> To unsubscribe from this group, send email to >> heroku+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/heroku?hl=en. >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Heroku" group. >> To post to this group, send email to her...@googlegroups.com. >> To unsubscribe from this group, send email to >> heroku+unsubscr...@googlegroups.com >> . >> For more options, visit this group at >> http://groups.google.com/group/heroku?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Heroku" group. > To post to this group, send email to her...@googlegroups.com. > To unsubscribe from this group, send email to > heroku+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/heroku?hl=en. > -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: Heroku Docs PDF
Absolutely perfect! On Sep 16, 2010, at 3:30 AM, Matthew Todd wrote: > On Sep 11, 2010, at 8:32 AM, lakshmanan wrote: > >>> Some times I go offline and I need to check heroku docs. Can you >>> please provide us the PDF download of the Online docs .. it would be >>> of great help > > On Sep 15, 2010, at 11:09 PM, Jeff Deville wrote: > >> I'll second this. I'd like to see changes in the form of an rss feed too if >> possible. > > It's not quite a PDF, but you can clone (as well as follow) the docs from > github: > > http://github.com/heroku/heroku-docs -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: Heroku Docs PDF
I'll second this. I'd like to see changes in the form of an rss feed too if possible. On Sep 11, 2010, at 8:32 AM, lakshmanan wrote: > Some times I go offline and I need to check heroku docs. Can you > please provide us the PDF download of the Online docs .. it would be > of great help > > -- > You received this message because you are subscribed to the Google Groups > "Heroku" group. > To post to this group, send email to her...@googlegroups.com. > To unsubscribe from this group, send email to > heroku+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/heroku?hl=en. > -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: How to deploy app with sensitive config information?
The general way to set up config values is with heroku config:add NAME=VALUE I have no idea what level of security that affords you that git would not, but that's all I know of. (I'm far far from an expert here though). On Sep 1, 2010, at 10:38 AM, dnagir wrote: > Hi, > > Deployment to Heroku is done as a Git push. > For git I configure my app not to include any sensitive information so > it will not appear anywhere. > This includes email, payment gateway credentials, encryption key, etc. > > So how would I deploy that information together with the application > without storing it in git? > > Cheers, > Dmytrii. > > -- > You received this message because you are subscribed to the Google Groups > "Heroku" group. > To post to this group, send email to her...@googlegroups.com. > To unsubscribe from this group, send email to > heroku+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/heroku?hl=en. > -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.