View Single Post
  #2   Spotlight this post!  
Unread 18-05-2014, 16:29
tim-tim's Avatar
tim-tim tim-tim is offline
Simplicity by Design...
AKA: Tim Miedzinski
FRC #0836 (The RoboBees)
Team Role: Mentor
 
Join Date: Feb 2007
Rookie Year: 2004
Location: Hollywood
Posts: 605
tim-tim has a reputation beyond reputetim-tim has a reputation beyond reputetim-tim has a reputation beyond reputetim-tim has a reputation beyond reputetim-tim has a reputation beyond reputetim-tim has a reputation beyond reputetim-tim has a reputation beyond reputetim-tim has a reputation beyond reputetim-tim has a reputation beyond reputetim-tim has a reputation beyond reputetim-tim has a reputation beyond repute
Re: Help with Cheesy Parts on Openshift

We are not using Openshift, but went through a lot of trial and error when the original release was made last year. Our biggest problem was understanding the Ruby protocol and how to use it.

The only thing that you have to change from the published code is the config/environment.rb file. You basically need to change all the info inside this environment file to match your server, database, and URL settings. This is what took us the longest to figure out. We were attempting to change the wrong file for a while. There is also a way to run your own local copy.

Once you have the config/environment.rb file changed, upload all the contents to a folder on your server. Change your directory to the folder you just uploaded everything to and then follow the commands in the read me file. Start with bundle install. This installs all the gem files necessary for Cheesy Parts to run. Then do the remaining two steps of migrating and starting.

Also, Pat Fairbank was extremely helpful when we were trying to figure this out. Let me know if this helps or if I misunderstood your question.
__________________
The RoboBees

Tim's Shortcuts Anderson Powerpoles and Crimper, Star/Tube Nuts