add note about nvm in readme

pull/1/head
ansuz 8 years ago
parent c16e8d603b
commit 4f5a5251d6

@ -17,22 +17,30 @@ engine. The secret key is stored in the URL [fragment identifier] which is never
the server but is available to javascript so by sharing the URL, you give authorization the server but is available to javascript so by sharing the URL, you give authorization
to others who want to participate. to others who want to participate.
To install:
git clone <this repo> # Installation
cd cryptpad
npm install
npm install -g bower ## if necessary
bower install
## copy config.js.dist to config.js Cryptpad depends on the Nodejs runtime.
cp config.js.dist config.js We recommend installing it via [NVM](https://github.com/creationix/nvm "Node Version Manager") to ensure that you are running an up to date version.
## modify configuration to use your own mongodb instance Once you have a recent runtime:
## for example aon the default mongodb port `mongodb://localhost:27017/demo_database`
$EDITOR config.js
node ./server.js ```
git clone <this repo>
cd cryptpad
npm install
npm install -g bower ## if necessary
bower install
## copy config.js.dist to config.js
cp config.js.dist config.js
## modify configuration to use your own mongodb instance
## for example aon the default mongodb port `mongodb://localhost:27017/demo_database`
$EDITOR config.js
node ./server.js
```
## Maintenance ## Maintenance

Loading…
Cancel
Save