Ian Connor
2006-May-26 18:23 UTC
[Instantrails-users] Instant Rails and your own applications
Hi, I want to make an open source rails project as easy as possible to install. Can I use Instant Rails for this? I treid to look at the FAQ but could not see this was possible. Ideally I would like to have Instant Rails install Ruby, Rails, MySql, etc and then have it add my application and add the mysql user (could be just root also) and then the sql for creating the tables. Sound like fun or impossible? -- Regards, Ian Connor -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060526/1d74341c/attachment.htm
Mickael Faivre-Macon
2006-May-26 22:14 UTC
[Instantrails-users] Instant Rails and your own applications
Hi, I use instant rails for development, on several machines. While the package would 50 Megs or more, it could also be used for distributing an app. But why not distribute only the sources and keep your table schema in migrations ? Your installation procedure would say to install instantrails and copy the sources into the rails_app dir and voila. Mickael. On 5/26/06, Ian Connor <ian.connor at gmail.com> wrote:> Hi, > > I want to make an open source rails project as easy as possible to install. > > Can I use Instant Rails for this? I treid to look at the FAQ but could not > see this was possible. > > Ideally I would like to have Instant Rails install Ruby, Rails, MySql, etc > and then have it add my application and add the mysql user (could be just > root also) and then the sql for creating the tables. > > Sound like fun or impossible? > > -- > Regards, > Ian Connor > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users > >
Ian Connor
2006-May-27 08:55 UTC
[Instantrails-users] Instant Rails and your own applications
I was hoping for a one click install and people to not even know how to use mysql or migrate type stuff. However, I am not sure coping the sources will be enough as I would need to create a database. Having said that, this might be my ignorance on how these things work. If I have all the sql in the migration directory, how can I make sure it is run before the user starts? Ian. On 5/26/06, Mickael Faivre-Macon <faivrem at gmail.com> wrote:> > Hi, > > I use instant rails for development, on several machines. > While the package would 50 Megs or more, it could also be used for > distributing an app. > But why not distribute only the sources and keep your table schema in > migrations ? > Your installation procedure would say to install instantrails and copy > the sources into the rails_app dir and voila. > > Mickael. > > > On 5/26/06, Ian Connor <ian.connor at gmail.com> wrote: > > Hi, > > > > I want to make an open source rails project as easy as possible to > install. > > > > Can I use Instant Rails for this? I treid to look at the FAQ but could > not > > see this was possible. > > > > Ideally I would like to have Instant Rails install Ruby, Rails, MySql, > etc > > and then have it add my application and add the mysql user (could be > just > > root also) and then the sql for creating the tables. > > > > Sound like fun or impossible? > > > > -- > > Regards, > > Ian Connor > > _______________________________________________ > > Instantrails-users mailing list > > Instantrails-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/instantrails-users > > > > > > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users >-- Regards, Ian Connor -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060527/34dbab84/attachment.htm
Curt Hibbs
2006-May-27 14:02 UTC
[Instantrails-users] Instant Rails and your own applications
On 5/27/06, Ian Connor <ian.connor at gmail.com> wrote:> > I was hoping for a one click install and people to not even know how to > use mysql or migrate type stuff. > > However, I am not sure coping the sources will be enough as I would need > to create a database. > > Having said that, this might be my ignorance on how these things work. If > I have all the sql in the migration directory, how can I make sure it is run > before the user starts? >You don''t need to do this at all. You can set up your database and populate its tabes with data and then zip up the Instant Rails directory tree. This is how the cookbook sample app is delivered with Instant Rails (take a look at the cookbook database, you''l see all the tables there with data). If you need to do more at installation time, then you''d have to create a true installer. You could take a look at NSIS, which is used by the One-Click Ruby Installer for Windows: http://nsis.sourceforge.net/Main_Page Curt -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060527/0a4c8df4/attachment.htm
Ian Connor
2006-May-27 15:58 UTC
[Instantrails-users] Instant Rails and your own applications
Thanks - I am trying this! ... just looked too easy to be true. Ian On 5/27/06, Curt Hibbs <curt.hibbs at gmail.com> wrote:> > On 5/27/06, Ian Connor <ian.connor at gmail.com> wrote: > > > > I was hoping for a one click install and people to not even know how to > > use mysql or migrate type stuff. > > > > However, I am not sure coping the sources will be enough as I would need > > to create a database. > > > > Having said that, this might be my ignorance on how these things work. > > If I have all the sql in the migration directory, how can I make sure it is > > run before the user starts? > > > > You don''t need to do this at all. > > You can set up your database and populate its tabes with data and then zip > up the Instant Rails directory tree. This is how the cookbook sample app is > delivered with Instant Rails (take a look at the cookbook database, you''l > see all the tables there with data). > > If you need to do more at installation time, then you''d have to create a > true installer. You could take a look at NSIS, which is used by the > One-Click Ruby Installer for Windows: > > http://nsis.sourceforge.net/Main_Page > > Curt > > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users > >-- Regards, Ian Connor -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060527/5b46ff3b/attachment-0001.htm
Tim Uckun
2006-Jun-02 00:28 UTC
[Instantrails-users] Instant Rails and your own applications
See http://www.erikveen.dds.nl/distributingrubyapplications/index.html for some ideas on how you can distribute your ruby applications. On 5/28/06, Ian Connor <ian.connor at gmail.com> wrote:> Thanks - I am trying this! > > ... just looked too easy to be true. > > Ian > > > On 5/27/06, Curt Hibbs <curt.hibbs at gmail.com > wrote: > > > > On 5/27/06, Ian Connor <ian.connor at gmail.com> wrote: > > > > I was hoping for a one click install and people to not even know how to > use mysql or migrate type stuff. > > > > However, I am not sure coping the sources will be enough as I would need > to create a database. > > > > Having said that, this might be my ignorance on how these things work. If > I have all the sql in the migration directory, how can I make sure it is run > before the user starts? > > > > You don''t need to do this at all. > > You can set up your database and populate its tabes with data and then zip > up the Instant Rails directory tree. This is how the cookbook sample app is > delivered with Instant Rails (take a look at the cookbook database, you''l > see all the tables there with data). > > If you need to do more at installation time, then you''d have to create a > true installer. You could take a look at NSIS, which is used by the > One-Click Ruby Installer for Windows: > > http://nsis.sourceforge.net/Main_Page > > Curt > > _______________________________________________ > > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users > > > > > -- > Regards, > Ian Connor > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users > >
Ian Connor
2006-Jun-09 11:21 UTC
[Instantrails-users] Instant Rails and your own applications
This does look interesting but I have a few other complications due to the application. It is a collaboration site that can host many projects, each project has its own hostname, so in the server world a wildcard domain entry does the trick. In our case *.pllite.com so that users can pick a project name project1.pllite.com, project2.pllite.com and so forth. However, when you run this locally, you can create a "localhost" project but then you run out without access to a dns domain pointing at you or editing your hosts file. I guess, I could script it when running locally to update the host file - just looking for the neatest solution. Regards, Ian Connor PS here is the project with SVN location as it has now been released to open source: http://ianconnor.blogspot.com/2006/06/projectlounge-lite-released-to-open.html On 6/2/06, Tim Uckun <timuckun at gmail.com> wrote:> > See http://www.erikveen.dds.nl/distributingrubyapplications/index.html > for some ideas on how you can distribute your ruby applications. > > On 5/28/06, Ian Connor <ian.connor at gmail.com> wrote: > > Thanks - I am trying this! > > > > ... just looked too easy to be true. > > > > Ian > > > > > > On 5/27/06, Curt Hibbs <curt.hibbs at gmail.com > wrote: > > > > > > > On 5/27/06, Ian Connor <ian.connor at gmail.com> wrote: > > > > > > I was hoping for a one click install and people to not even know how > to > > use mysql or migrate type stuff. > > > > > > However, I am not sure coping the sources will be enough as I would > need > > to create a database. > > > > > > Having said that, this might be my ignorance on how these things work. > If > > I have all the sql in the migration directory, how can I make sure it is > run > > before the user starts? > > > > > > > You don''t need to do this at all. > > > > You can set up your database and populate its tabes with data and then > zip > > up the Instant Rails directory tree. This is how the cookbook sample app > is > > delivered with Instant Rails (take a look at the cookbook database, > you''l > > see all the tables there with data). > > > > If you need to do more at installation time, then you''d have to create a > > true installer. You could take a look at NSIS, which is used by the > > One-Click Ruby Installer for Windows: > > > > http://nsis.sourceforge.net/Main_Page > > > > Curt > > > > _______________________________________________ > > > > Instantrails-users mailing list > > Instantrails-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/instantrails-users > > > > > > > > > > -- > > Regards, > > Ian Connor > > _______________________________________________ > > Instantrails-users mailing list > > Instantrails-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/instantrails-users > > > > > _______________________________________________ > Instantrails-users mailing list > Instantrails-users at rubyforge.org > http://rubyforge.org/mailman/listinfo/instantrails-users >-- Regards, Ian Connor -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060609/112b7430/attachment.htm
Ian Connor
2006-Jun-12 03:14 UTC
[Instantrails-users] Instant Rails and your own applications
Here is the download link for the Instant Rails version of ProjectLounge Lite. http://blog.projectlounge.com/2006/06/instant-rails-projectlounge-lite.html It is available via torrent or direct download. If people would seed this, it would be nice. Also, as this is our first use of Instant Rails for this, any suggestions and feedback is very welcome. Regards, Ian Connor ProjectLounge.com Inc On 6/9/06, Ian Connor <ian.connor at gmail.com> wrote:> > This does look interesting but I have a few other complications due to the > application. > > It is a collaboration site that can host many projects, each project has > its own hostname, so in the server world a wildcard domain entry does the > trick. > > In our case *.pllite.com so that users can pick a project name > project1.pllite.com, project2.pllite.com and so forth. > > However, when you run this locally, you can create a "localhost" project > but then you run out without access to a dns domain pointing at you or > editing your hosts file. > > I guess, I could script it when running locally to update the host file - > just looking for the neatest solution. > > Regards, > Ian Connor > > PS here is the project with SVN location as it has now been released to > open source: > > http://ianconnor.blogspot.com/2006/06/projectlounge-lite-released-to-open.html > > > On 6/2/06, Tim Uckun <timuckun at gmail.com> wrote: > > > > See http://www.erikveen.dds.nl/distributingrubyapplications/index.html > > for some ideas on how you can distribute your ruby applications. > > > > On 5/28/06, Ian Connor <ian.connor at gmail.com> wrote: > > > Thanks - I am trying this! > > > > > > ... just looked too easy to be true. > > > > > > Ian > > > > > > > > > On 5/27/06, Curt Hibbs <curt.hibbs at gmail.com > wrote: > > > > > > > > > > On 5/27/06, Ian Connor <ian.connor at gmail.com > wrote: > > > > > > > > I was hoping for a one click install and people to not even know how > > to > > > use mysql or migrate type stuff. > > > > > > > > However, I am not sure coping the sources will be enough as I would > > need > > > to create a database. > > > > > > > > Having said that, this might be my ignorance on how these things > > work. If > > > I have all the sql in the migration directory, how can I make sure it > > is run > > > before the user starts? > > > > > > > > > > You don''t need to do this at all. > > > > > > You can set up your database and populate its tabes with data and then > > zip > > > up the Instant Rails directory tree. This is how the cookbook sample > > app is > > > delivered with Instant Rails (take a look at the cookbook database, > > you''l > > > see all the tables there with data). > > > > > > If you need to do more at installation time, then you''d have to create > > a > > > true installer. You could take a look at NSIS, which is used by the > > > One-Click Ruby Installer for Windows: > > > > > > http://nsis.sourceforge.net/Main_Page > > > > > > Curt > > > > > > _______________________________________________ > > > > > > Instantrails-users mailing list > > > Instantrails-users at rubyforge.org > > > http://rubyforge.org/mailman/listinfo/instantrails-users > > > > > > > > > > > > > > > -- > > > Regards, > > > Ian Connor > > > _______________________________________________ > > > Instantrails-users mailing list > > > Instantrails-users at rubyforge.org > > > http://rubyforge.org/mailman/listinfo/instantrails-users > > > > > > > > _______________________________________________ > > Instantrails-users mailing list > > Instantrails-users at rubyforge.org > > http://rubyforge.org/mailman/listinfo/instantrails-users > > > > > > -- > Regards, > Ian Connor >-- Regards, Ian Connor -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/instantrails-users/attachments/20060612/14bcdcd2/attachment.htm