My ambition is to create a rails app that runs locally within a desktop application (obviously, one that connects to a browser engine). To bypass the need for a server running, I''d like to use sqlite3. My problem is that since I don''t want a server running, I''m not sure how to even view the app. Traditionally, you go to http://localhost:3000 to view the welcome page. But if there isn''t a server running, you won''t be able to connect to that. Can anyone who has made a serverless, sqlite rails app help me out? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Jack Smith wrote:> My ambition is to create a rails app that runs locally within a desktop > application (obviously, one that connects to a browser engine). To > bypass the need for a server running, I''d like to use sqlite3. My > problem is that since I don''t want a server running, I''m not sure how to > even view the app. Traditionally, you go to http://localhost:3000 to > view the welcome page. But if there isn''t a server running, you won''t be > able to connect to that. Can anyone who has made a serverless, sqlite > rails app help me out?You need a server, period. Rails comes with the built-in Webrick server which you can probably hide away behind a shellscript or batchfile. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
Eero Saynatkari wrote:> Jack Smith wrote: >> My ambition is to create a rails app that runs locally within a desktop >> application (obviously, one that connects to a browser engine). To >> bypass the need for a server running, I''d like to use sqlite3. My >> problem is that since I don''t want a server running, I''m not sure how to >> even view the app. Traditionally, you go to http://localhost:3000 to >> view the welcome page. But if there isn''t a server running, you won''t be >> able to connect to that. Can anyone who has made a serverless, sqlite >> rails app help me out? > > You need a server, period. Rails comes with the built-in > Webrick server which you can probably hide away behind a > shellscript or batchfile.Yeah, that''s what I figured. I''m just wondering whether it would be overkill to have a webrick running in the background every time you opened the app... -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---
but your software can launch the server in the background, the user wouldn''t have to do this ? -- Heri R. http://sprinj.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk -~----------~----~----~----~------~----~------~--~---