|
|
há 9 anos atrás | |
|---|---|---|
| bin | 9cbc7d312a add comments | há 9 anos atrás |
| config | c72da9d0e8 BugFix remove unnecessary configuration | há 9 anos atrás |
| lib | 504f1faac0 impl bin/generate-plugin-definitions-source.js | há 9 anos atrás |
| local_modules | 0bba632df5 Remove bluebird require | há 9 anos atrás |
| locales | 0ecc7d7653 Update | há 9 anos atrás |
| public | fdf992adde inject js to server's html templates | há 9 anos atrás |
| resource | 9cbc7d312a add comments | há 9 anos atrás |
| test | cc193ff39d Merge branch 'wip-v1.6' into support-i18n | há 9 anos atrás |
| tmp | 98e80676bd Fix for multer 1.2 | há 9 anos atrás |
| .babelrc | 706cb9e6ad tmp | há 10 anos atrás |
| .editorconfig | 2d42c72e58 add .editorconfig | há 9 anos atrás |
| .gitignore | 504f1faac0 impl bin/generate-plugin-definitions-source.js | há 9 anos atrás |
| .jshintrc | c0f47c5f82 Re:Crowi | há 11 anos atrás |
| .node-dev.json | dc3af550d5 use node-dev and easy-livereload | há 9 anos atrás |
| CHANGES.md | 16dc7c6844 CHANGES, README updates | há 9 anos atrás |
| LICENSE | 8069792e45 Move license terms to LICENSE file | há 11 anos atrás |
| Procfile | c0f47c5f82 Re:Crowi | há 11 anos atrás |
| README.md | 3f88b589c7 Merge pull request #3 from yuki-takei/master | há 9 anos atrás |
| app.js | 06b5a3ebc0 modify setup orders of server(to ensure that setting routes is at last) | há 9 anos atrás |
| app.json | 32f39265d4 Add bonsai | há 10 anos atrás |
| circle.yml | b9a8ba555d Prepare to start 1.6.0 | há 9 anos atrás |
| gulpfile.js | 0024827b44 Merge branch 'master' into migrate-to-webpack2 | há 9 anos atrás |
| package.json | 504f1faac0 impl bin/generate-plugin-definitions-source.js | há 9 anos atrás |
| webpack.config.js | 750ea3d040 WIP: constructing webpack.common.config.js | há 9 anos atrás |
Crowi is:
Install dependencies and build CSS and JavaScript:
$ npm install
More info are here.
Don't use master branch because it is unstable but use released tag version expect when you want to contribute the project.
master branch is prepared for v1.6. See here to know further info.
Crowi is designed setting up to Heroku or some PaaS, but you can start up Crowi with ENV parameter on your local.
$ PASSWORD_SEED=somesecretstring MONGO_URI=mongodb://username:password@localhost/crowi node app.js
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.REDIS_URL: URI to connect Redis (to session store). This parameter is also by REDISTOGO_URL.ELASTICSEARCH_URI: URI to connect Elasticearch.PASSWORD_SEED: A password seed is used by password hash generator.SECRET_TOKEN: A secret key for verifying the integrity of signed cookies.FILE_UPLOAD: aws (default), local, noneInstall plugins from github:
$ npm run install-plugin https://github.com/sopmeone/crowi-plugin-something.git
Modify plugin/plugin.js:
const plugins = [
require('crowi-plugin-something')
]
Build plugins:
$ npm run webpack:plugin
After above process, rebooting Crowi is required.
Plugins are DISABLED in default settings.
Change it on admin page.

