# A serverless, rich-client rails app

**URL:** <https://www.ruby-forum.com/t/a-serverless-rich-client-rails-app/68232>\
**Category:** Rails\
**Created:** [September 10, 2006, 10:24pm UTC](https://www.ruby-forum.com/t/a-serverless-rich-client-rails-app/68232 "2006-09-10T22:24:51Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![smithy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/a4c791/32.png) [@smithy](https://www.ruby-forum.com/u/smithy)\
**Post date:** [September 10, 2006, 10:24pm UTC](https://www.ruby-forum.com/t/a-serverless-rich-client-rails-app/68232/1 "2006-09-10T22:24:51Z")

</div>

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](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?

---

<div class="post-metadata">

**Author:** ![smithy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/a4c791/32.png) [@smithy](https://www.ruby-forum.com/u/smithy)\
**Post date:** [September 11, 2006, 12:03am UTC](https://www.ruby-forum.com/t/a-serverless-rich-client-rails-app/68232/2 "2006-09-11T00:03:53Z")

</div>

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](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.

---

<div class="post-metadata">

**Author:** ![smithy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/a4c791/32.png) [@smithy](https://www.ruby-forum.com/u/smithy)\
**Post date:** [September 11, 2006, 12:12am UTC](https://www.ruby-forum.com/t/a-serverless-rich-client-rails-app/68232/3 "2006-09-11T00:12:28Z")

</div>

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](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…

---

<div class="post-metadata">

**Author:** ![smithy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/a4c791/32.png) [@smithy](https://www.ruby-forum.com/u/smithy)\
**Post date:** [September 11, 2006, 10:27pm UTC](https://www.ruby-forum.com/t/a-serverless-rich-client-rails-app/68232/4 "2006-09-11T22:27:05Z")

</div>

but your software can launch the server in the background, the user  
wouldn’t  
have to do this ?

–  
Heri R.  
[http://sprinj.com](http://sprinj.com)
