Quote:
Originally Posted by adi20f
So our rake and environment files have been calibrated for the server's mysql log in. But our trouble is on understanding how what the SSH deployment is in the ReadMe and how we can run it on our openshift server. Sorry if this was not clear in the beginning
|
The fezzik script is used to automatically send over all the necessary files for Cheesy Parts to the remote server, then start the application. Running "bundle exec fez prod deploy" on your computer will set up Cheesy Parts on the remote server.
You'll need the SSH key for the openshift server in order for the script to work. The fezzik script uses rsync to move files between the computers using ssh public key encryption. If you can already ssh in to the server, you should have your key, username, and server address, so you should be all set.
The other thing that you may need to be careful of is the mysql server host address. It is likely that it will not be running on the same system as your application is, so it could have a separate ip address. I believe that running "show variables where variable_name = 'hostname' " in mysql will give you the hostname of the mysql server.