The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

RoR & cPanel without SSH

Discussion in 'Database Discussions' started by Sohvaperuna, Jun 16, 2010.

  1. Sohvaperuna

    Sohvaperuna Registered

    Joined:
    Jun 16, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Hi,

    Sorry if this has been answered already, but did not find answer.

    How you are supposed to deploy RoR application without SSH connection?

    I have understood it so that;

    1) Go to cPanel and create RoR application
    2) Wipe contents of the application and upload your own application in place

    3) Run migrations

    How step 3. can be done without SSH connection?

    Thanks,
    Sohvaperuna

    PS. Web hosting provider is JustHost in case it matters..
     
  2. vanessa

    vanessa Well-Known Member
    PartnerNOC

    Joined:
    Sep 26, 2006
    Messages:
    817
    Likes Received:
    22
    Trophy Points:
    18
    Location:
    Virginia Beach, VA
    cPanel Access Level:
    DataCenter Provider
    You don't necessarily need SSH access to manager RoR apps, but it sure helps :)

    You can FTP the RoR apps to the empty application shell that cpanel created, then start the app from within cpanel without ever using SSH.
     
  3. Sohvaperuna

    Sohvaperuna Registered

    Joined:
    Jun 16, 2010
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    How do you setup the database? When I am developing on my own application, I think I need to run some migrations scripts, which will then create the database, right?

    How can I do that without SSH?

    - S
     
  4. vanessa

    vanessa Well-Known Member
    PartnerNOC

    Joined:
    Sep 26, 2006
    Messages:
    817
    Likes Received:
    22
    Trophy Points:
    18
    Location:
    Virginia Beach, VA
    cPanel Access Level:
    DataCenter Provider
    That depends on your application. If you're migrating an existing app, you can create the DB in cpanel and import it from phpmyadmin, then update the connection files. You can also run the commands via cron if you have scripts that have to be run.
     
Loading...

Share This Page