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
|
||||
-------
|
||||
|
||||
### 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
|
||||
|
|
Loading…
Reference in New Issue