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?
Jack S. 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.
Eero S. wrote:
Jack S. 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…
but your software can launch the server in the background, the user
wouldn’t
have to do this ?
–
Heri R.
http://sprinj.com