Instant rails - need a bit of help

Hiya everyone,

I’ve downloaded instant rails and have made a application on my machine
which is local. I need to now move this onto my university space so I
can demostrate it in a few weeks time…only i’m not really sure how I do
it?

Would anybody be able to offer me some advice, or point me in some
direction where I could find out.

Many thanks in advance!

Helen

Hi Helen, if you want to move you Rails application onto a public
server for demonstration you will need to make sure that the server
supports Rails, that is a Windows/Linux/Unix/OSX server with at least
ruby and rails installed, a web server and ideally FastCGI, SCGI or
Mongrel.
You can ask your university IT department to find out if they do, if
not, your second next bet is to find a hosting company that does so
you can deploy your Rails application with them. I use Dreamhost and
they pretty good (google “Rails + Dreamhost” to find more) but that
will cost you at least 8 bucks a month to get the minimum package I
think, a bit expensive for demonstration only I suppose…
If you have a broadband connection you can also consider opening the
port 80 from your ADSL router and redirect HTTP traffic to your local
PC, hence people can reach your Rails application using you Broadband
IP, that should be OK for demonstration purposes.

My 2 cents ?

Gael

On 4/18/06, Helen M. [email protected] wrote:

Many thanks in advance!

Helen

I’m assuming you are going to install Instant Rails in your university
space and you are asking how to move the application you wrote.

There are two things you need to move: your application code, and any
data that you have stored in MySQL for that app.

The code part is easy, just copy the entire directory tree of your
Rails app from your current “rails_apps” subdirectory to the
“rails_apps” subdirectory on the university machine.

For the data, you can either export the database and then import it
into the university copy of Instant Rails, or if that is the only data
you have in your database, you could just copy the “mysql\data”
subdirectory of Instant Rails to the university installation.

Curt