Thread: Rails App Deployment Help Needed
-
04-06-2008, 13:57 #1
new member
- Join Date
- Jun 2008
- Posts
- 3
Rails App Deployment Help Needed
Hi all
I have written a Rails application on my local P.C. using Aptana Studio and with the help of a totally superb book have managed to write a shopping cart.
I want to see how to deploy the app to my shared copper cPanel account.
I have spent a great deal of time researching threads for info etc.. but have so far been unable to do anything much.
Here are the steps I have gone through so far
1 - Developed app
I will in the future do frequent step deployments so I can make sure that everything is going O.K. but for now I am wanting to deploy a complete app.
2 - Had my domain transferred to a server capable of running an R.R 2.0.2 app.
3 - Created a sub domain (RoR2)
4 - Uploaded my complete RoR app from my P.C. (Did this using the free version of SmartFTPClient.
That's it.
I can go to my
fluffypaws co uk RoR1 public Aptana RadRails
domain and I get the standard Aptana Rails page but nothing wlse works
Questions
1 - How do I tell the cPanel Ruby application that I have this app here so I can start and stop the server
2 - How do I tell my app what database to use. Presumably done through migrations but not certain exactly how to go about this bit.
3 - I have also seen mention of setting document root for my sub domain and would be greatful to know if this NEEDS to be done.
I am unable to think of any further questions at the moment but that is probably because I am unable to get any further and as soon as I have some answers to the above I am sure that I will have plenty more.
Many thanks in advance for your help.
Kind Regards
James
-
07-06-2008, 12:42 #2
new member
- Join Date
- Jun 2008
- Posts
- 3
Hi,
It turns out that I have done everything correctly and it all worked great once I had worked out that I needed to start the mongrel server with a
mongrel_rails start -d
If anyome knows what I need to do to get rid of having to use the port number it would be really good
-
30-10-2008, 10:04 #3
new member
- Join Date
- Dec 2007
- Posts
- 2
Rails App Deployment Help Needed
I have successfully done this a couple times before but I'm running into random errors with my current deploy and I need to find someone who can do this for this application and a few future applications that are in the Affiliate Networks.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)


LinkBack URL
About LinkBacks



Reply With Quote

This Leeds based one looks familiar Web Hosting - Best UK Web Hosting Company - Web Hosting UK -...
Are Fasthost4u connected to Eukhost