Permanent script hosting ?

M

Manu Cap

Hello,

I need a ruby script to be permanently up, but can't host it on my PC as
I must shut it down overnight.
Is there any (FREE) hosting solution that allows such operation ?

Thanks in advance ;)
 
S

Sora Harakami

I need a ruby script to be permanently up, but can't host it on my PC as
I must shut it down overnight.
Is there any (FREE) hosting solution that allows such operation ?

Hmm, "hosting" is "distribute a script" or "host application (cgi or
rack?)"... i don't understand it.

so i write down two cases here.

distribute a script: Use dropbox's public folder (it can get public
http url) or http://gist.github.com
host application: if you using cgi app, sorry i don't know free
hosting service. ;-(
But i'm know rack hosting service in free. (rack app means sinatra, rails...)
It named heroku, it can use by here: http://heroku.com
[/QUOTE]
 
M

Manu Cap

Hello and thanks for your informations.

Indeed, I didn't specify what kind of hosting i needed sorry.
In fact, I need my script to be run (as CGI) on a distant server.
It's not rails, it's a handwritten custom script.

I don't use rails yet but I'll take note of Heroku ^^.
 
S

Sora Harakami

Hmm... Sorry, I'm japanese so i don't know web hosting space not in Japan...
Sorry. :-(
 
R

Richard Conroy

[Note: parts of this message were removed to make it a legal post.]

Hello and thanks for your informations.

Indeed, I didn't specify what kind of hosting i needed sorry.
In fact, I need my script to be run (as CGI) on a distant server.
It's not rails, it's a handwritten custom script.

I don't use rails yet but I'll take note of Heroku ^^.
That could be tricky enough. CGI isn't a common way to deploy Ruby apps.
The performance is quite poor (particularly memory) so most hosting
companies wont do it.

If you can rewrite your CGI app into something that conforms to the Rack
specification (all Ruby web frameworks are Rack-enabled) then a lot of
choices open up. You can then look for Hosting companies that offer
Passenger support, and of course heroku - which has a free plan for
simple Ruby web apps.
 
J

Josh Cheek

[Note: parts of this message were removed to make it a legal post.]

Hello and thanks for your informations.

Indeed, I didn't specify what kind of hosting i needed sorry.
In fact, I need my script to be run (as CGI) on a distant server.
It's not rails, it's a handwritten custom script.

I don't use rails yet but I'll take note of Heroku ^^.
Can we see your script? It might be simple to get it to conform to rack.
 
D

David Masover

Hello and thanks for your informations.

Indeed, I didn't specify what kind of hosting i needed sorry.
In fact, I need my script to be run (as CGI) on a distant server.
It's not rails, it's a handwritten custom script.

I don't use rails yet but I'll take note of Heroku ^^.

You don't need Rails. Sinatra would work. Any Rack-based framework would work.
Just don't use raw CGI.

And if you can do that, depending what your script actually does, it might
work well on appengine-jruby. That's the largest free host I could find. For
comparison:

Heroku's free offering gives you a 5 meg database, but PostgreSQL is probably
more familiar and easier to work with if you've used MySQL or something
similar.

App Engine's free offering gives you a 1 _gigabyte_ database, but you have all
the restrictions of app engine -- 30 seconds to respond or die, non-relational
database, etc.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top