Skip to content
Snippets Groups Projects
Commit e70124c3 authored by Shane Tomlinson's avatar Shane Tomlinson
Browse files

Adding a script to prepare the bundle, generate keys, and put the keys into the correct location.

parent a0a424a5
No related branches found
No related tags found
No related merge requests found
......@@ -19,11 +19,12 @@ Here's the software you'll need installed:
* node.js (>= 0.4.5): http://nodejs.org/
* npm: http://npmjs.org/
* Several node.js 3rd party libraries - see `package.json` for details
* browserify which will be installed globally.
## Getting started:
1. install node
2. run `npm install` to installed 3rd party libraries into `node_modules`
1. install node and npm
3. run `./prepare_deps` to install 3rd party libraries and generate keys
3. run the top level *run.js* script: `node ./run.js`
4. visit the demo application ('rp') in your web browser (url output on the console at runtime)
......
#!/bin/bash
npm install
echo '*** Asking for sudo to install browserify globally ***'
sudo npm install -g browserify
cd lib/jwcrypto
./bundle.sh
node generate-keypair.js
mv key.publickey ../../var/root.publickey
mv key.secretkey ../../var/root.privatekey
cd ../..
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment