Specific Question: Mounting an Application on Ruby

I have created 2 directories:

One on html_Public
The other on “/” of my hosting.

Where do I have to copy my application files?

And

When I’m logged in SSH what is the command to execute the Script? and DB?

Thanks