Hey there, So, there are couple of different questions here. As far as how to _deploy_ a Merb or Sinatra app on Heroku, I think that's decently addressed in our current documentation at http://heroku.com/ docs#toc32. The information there includes how to use different ORM frameworks with the Heroku-provided database credentials. Note that we're not showing you how to use SQLite on Heroku. In fact, you should not and cannot use a file based db such as SQLite reliably in the cloud. Rather, we're demonstrating how to gracefully fall back to SQLite in your local development environment.
You're also asking about how use ActiveRecord migrations outside of Rails. While that's outside the scope of our deployment oriented docs, there's plenty of info on it on the web. For example, Adam wrote a blog post on it here: http://adam.blog.heroku.com/past/2009/2/28/activerecord_migrations_outside_rails/ . Best, /Morten On Mar 11, 2009, at 5:44 PM, IndianGuru wrote: > > I have tried that but it does not work. Badly stuck. > > > On Mar 11, 9:52 pm, Max <[email protected]> wrote: >> Thehttp://heroku.com/docsdocs have sections specifically for >> Sinatra, DataMapper, and in a way SQlite3 (in the DataMapper >> section). Stuff like rake migrate and database.yml are specific to >> each ORM obviously...and after Googling I wasn't able to find >> anything >> about running migrations in non-Merb/Rails settings. Perhaps just >> generate a Merb or Rails app and lift the migrations from the >> Rakefile? >> >> On Mar 10, 8:01 pm, IndianGuru <[email protected]> wrote: >> >>> The documentation on how one deploys a simple CRUD app in both >>> Sinatra >>> and Merb to Heroku, is not clear. For people who have not worked on >>> Rails and have jumped directly to Sinatra or Merb, some parts of the >>> doc are difficult to understand or confusing eg. rake migrate or the >>> format of database.yml etc. >> >>> Any clear doc on how to deploy an app - >> >>> a. ActiveRecord and SQLIte3 for Merb and, >>> b. DataMapper and SQLIte3 for Sinatra >> >>> All help appreciated. > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/heroku?hl=en -~----------~----~----~----~------~----~------~--~---
