|
|
9 năm trước cách đây | |
|---|---|---|
| bin | ab7087512b Added search util | 10 năm trước cách đây |
| lib | 2eae6642b3 Merge branch 'feature-plugin' | 9 năm trước cách đây |
| local_modules | 0bba632df5 Remove bluebird require | 9 năm trước cách đây |
| locales | 0ecc7d7653 Update | 9 năm trước cách đây |
| public | fbf2ec65ba Github like diff | 9 năm trước cách đây |
| resource | 91cf15c53d impl plugin v2 | 9 năm trước cách đây |
| test | cc193ff39d Merge branch 'wip-v1.6' into support-i18n | 9 năm trước cách đây |
| tmp | 98e80676bd Fix for multer 1.2 | 9 năm trước cách đây |
| .babelrc | 706cb9e6ad tmp | 10 năm trước cách đây |
| .gitignore | 95ecee087b modularized fileupload, add support: local storage | 10 năm trước cách đây |
| .jshintrc | c0f47c5f82 Re:Crowi | 11 năm trước cách đây |
| CHANGES.md | 942515bc82 CHANGES | 9 năm trước cách đây |
| LICENSE | 8069792e45 Move license terms to LICENSE file | 11 năm trước cách đây |
| Procfile | c0f47c5f82 Re:Crowi | 11 năm trước cách đây |
| README.md | 2eae6642b3 Merge branch 'feature-plugin' | 9 năm trước cách đây |
| app.js | 1a3f0ab6be Change init() and buildServer() interface | 10 năm trước cách đây |
| app.json | 32f39265d4 Add bonsai | 10 năm trước cách đây |
| circle.yml | b9a8ba555d Prepare to start 1.6.0 | 9 năm trước cách đây |
| gulpfile.js | 0024827b44 Merge branch 'master' into migrate-to-webpack2 | 9 năm trước cách đây |
| npm-shrinkwrap.json | 0024827b44 Merge branch 'master' into migrate-to-webpack2 | 9 năm trước cách đây |
| package.json | 2eae6642b3 Merge branch 'feature-plugin' | 9 năm trước cách đây |
| webpack.config.js | 2854b80d3d modify build settings | 9 năm trước cách đây |
| webpack.plugin.config.js | 91cf15c53d impl plugin v2 | 9 năm trước cách đây |
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.

