show how to install
This commit is contained in:
parent
352b1b0a4a
commit
cec4f1ee95
25
README.md
25
README.md
|
@ -20,15 +20,32 @@ The node.js netserver that's just right.
|
||||||
Install Standalone
|
Install Standalone
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
### curl | bash
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# v1 in npm
|
curl -fsSL https://git.daplie.com/Daplie/goldilocks.js/raw/v1.1/installer/get.sh
|
||||||
npm install -g goldilocks
|
```
|
||||||
|
|
||||||
|
### 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)
|
# v1 in git (via ssh)
|
||||||
npm install -g git+ssh://git@git.daplie.com:Daplie/goldilocks.js#v1
|
npm install -g git+ssh://git@git.daplie.com:Daplie/goldilocks.js#v1
|
||||||
|
|
||||||
# v1 in git (unauthenticated)
|
# v1 in npm
|
||||||
npm install -g git+https://git@git.daplie.com:Daplie/goldilocks.js#v1
|
npm install -g goldilocks@v1
|
||||||
```
|
```
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
Loading…
Reference in New Issue