show how to install

This commit is contained in:
Your Name 2017-11-07 20:50:13 +00:00 committed by AJ ONeal
parent 352b1b0a4a
commit cec4f1ee95
1 changed files with 21 additions and 4 deletions

View File

@ -20,15 +20,32 @@ The node.js netserver that's just right.
Install Standalone
-------
### curl | bash
```bash
# v1 in npm
npm install -g goldilocks
curl -fsSL https://git.daplie.com/Daplie/goldilocks.js/raw/v1.1/installer/get.sh
```
### git
```bash
git clone https://git.daplie.com/Daplie/goldilocks.js
git checkout v1.1
pushd goldilocks.js
bash installer/install.sh
```
### npm
```bash
# v1 in git (unauthenticated)
npm install -g git+https://git@git.daplie.com:Daplie/goldilocks.js#v1
# v1 in git (via ssh)
npm install -g git+ssh://git@git.daplie.com:Daplie/goldilocks.js#v1
# v1 in git (unauthenticated)
npm install -g git+https://git@git.daplie.com:Daplie/goldilocks.js#v1
# v1 in npm
npm install -g goldilocks@v1
```
```bash