|
|
@@ -41,9 +41,19 @@ Start Up on Local
|
|
|
Crowi is designed setting up to Heroku or some PaaS, but you can start up Crowi with ENV parameter on your local.
|
|
|
|
|
|
```
|
|
|
-$ MONGOLAB_URI=mongodb://username:password@localhost/crowi node app.js
|
|
|
+$ PASSWORD_SEED=somesecretstring MONGOHQ_URL=mongodb://username:password@localhost/crowi node app.js
|
|
|
```
|
|
|
|
|
|
+### Environment
|
|
|
+
|
|
|
+
|
|
|
+* `PORT`: Server port. default: `3000`.
|
|
|
+* `NODE_ENV`: `production` OR `development`.
|
|
|
+* `MONGO_URI`: URI to connect MongoDB. This parameter is also by `MONGOHQ_URL` OR `MONGOLAB_URI`.
|
|
|
+* `PASSWORD_SEED`: A password seed is used by password hash generator.
|
|
|
+* `SECRET_TOKEN`: A secret key for verifying the integrity of signed cookies.
|
|
|
+
|
|
|
+
|
|
|
License
|
|
|
---------
|
|
|
|