Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Navigate to /zend_framework/public/server/
  2. Execute npm (node package manager) which will read the package.json file and install the listed dependencies. 
    1. npm install

...

Configure auth.json

Old Method:

Create /zend_framework/public/server/auth.json with your username and password in the following format, substituting your actual credentials:

Code Block
{
	"username": "jresig",
	"password": "jQuery2006"
}

New Method:

Edit /zend_framework/public/server/auth_yours.json and rename this file to auth_me.json or whatever you like:

Code Block
{
	"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"
}

Testing The Local Server

Old Method:

  1. Navigate to zend_framework/public/server
  2. Start the server via command ./bin/mitserv

New Method:

  1. Navigate to zend_framework/public/server
  2. Start the server via command node bin/mitserv.js -a auth_me.json

Possible Issues

  • Issue: 
  • Fix: The Apache server needs to include the username

...