PDA

View Full Version : Copying Over an Existing Rails App


rob
July 3rd, 2005, 11:56 PM
While our ocs-install-rails script will install a new version of Rails for you, you might want to copy over an existing application you've developed on your local machine or on another web host.

No problem!

Simply run the ocs-install-rails installer and then copy all files in the app, config, and any other folders you've made custom files into the new installed instance. Make sure you change any database usernames and passwords in the database.yml file to the new values, and port over any SQL database information to our MySQL server.

If you need any help with this, please let us know.

peta
October 20th, 2006, 07:10 AM
I am trying out an application, I have not put anywork on the OCS server before in Rails, so far I have transfered the application to my ocs server. Changed the yml file, created an empty database, and currently trying to execute the

rake db:migrate

command, using putty whilst located in the relevant rails app, root directory.

After a couple of syntax errors with user name, I am now told that my development database is not configured...

Here I reach an impass..

any suggestions gratefully received

thanks

rob
October 20th, 2006, 05:43 PM
Can you paste more specific error messages you're getting, including the last bits of logs/development.log so we can see what's going on?