Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
persona
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hexang 息壤平台
persona
Commits
e70124c3
Commit
e70124c3
authored
13 years ago
by
Shane Tomlinson
Browse files
Options
Downloads
Patches
Plain Diff
Adding a script to prepare the bundle, generate keys, and put the keys into the correct location.
parent
a0a424a5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+3
-2
3 additions, 2 deletions
README.md
prepare_deps.sh
+15
-0
15 additions, 0 deletions
prepare_deps.sh
with
18 additions
and
2 deletions
README.md
+
3
−
2
View file @
e70124c3
...
...
@@ -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 install
ed
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)
...
...
This diff is collapsed.
Click to expand it.
prepare_deps.sh
0 → 100755
+
15
−
0
View file @
e70124c3
#!/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
../..
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment