The following set up will allow you to work on the Raft3 app in your local environment (http://localhost) while connecting to the dev servers for authentication and services.
Download and install node from here: http://nodejs.org/download/ (doc written using V0.10.16)
Create a new project in PHPStorm (or your favorite IDE) and pull the code.
svn root: svn+ssh://svn.mit.edu/mitbi
project: php/trunk
You'll get more than just the front end app but this allows us to be consistent when merging
The app lives in the public directory (trunk/zend_framework/public/)
In this public directory you need to create a copy of the existing server directory. Call it local_server and configure it so svn will ignore it (we want this to remain locally on your machine only).
These certificates are used to proxy to the test server using your credentials.
Now remove the password from your .pem file this way: openssl rsa -in yourcert.pem -out yourcertNoPassword.pem
From the Authorities tab in FF, e
xport and save the "MIT Certification Authority..." certification to a file name mitCA.pem in /zend_framework/public/local_server
/certs folder
.
Edit /zend_framework/public/local_server/auth_yours.json and rename this file to auth_me.json or whatever you like:
{ "what_do_I_do_with_this_file": "Rename this file to auth_me.json or whatever you like then reference it on the command line with the '-a' parameter", "keyFile": ".pem file containing your key", "certsFile": ".pem file containing your cert with password removed", "caFile": "certs/mitCA.pem" } |