Forum: Ruby on Rails Instant rails - need a bit of help.

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Helen M. (Guest)
on 2006-04-18 20:57
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
Gael P. (Guest)
on 2006-04-18 23:08
(Received via mailing list)
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
Curt H. (Guest)
on 2006-04-18 23:12
(Received via mailing list)
On 4/18/06, Helen M. <removed_email_address@domain.invalid> 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
This topic is locked and can not be replied to.