Нет описания

Yuki Takei 98b98e1f16 BugFix when dev 9 лет назад
bin e5a7d305c1 change the location where plugin-definitions.js is generated and ignore 9 лет назад
config 3e37f29cd4 BugFix (reconfigure of CommonsChunkPlugin) 9 лет назад
lib 98b98e1f16 BugFix when dev 9 лет назад
local_modules 0bba632df5 Remove bluebird require 9 лет назад
locales 0ecc7d7653 Update 9 лет назад
public fdf992adde inject js to server's html templates 9 лет назад
resource e5a7d305c1 change the location where plugin-definitions.js is generated and ignore 9 лет назад
test cc193ff39d Merge branch 'wip-v1.6' into support-i18n 9 лет назад
tmp 98e80676bd Fix for multer 1.2 9 лет назад
.babelrc 706cb9e6ad tmp 10 лет назад
.editorconfig 2d42c72e58 add .editorconfig 9 лет назад
.gitignore e5a7d305c1 change the location where plugin-definitions.js is generated and ignore 9 лет назад
.jshintrc c0f47c5f82 Re:Crowi 11 лет назад
.node-dev.json dc3af550d5 use node-dev and easy-livereload 9 лет назад
CHANGES.md 16dc7c6844 CHANGES, README updates 9 лет назад
LICENSE 8069792e45 Move license terms to LICENSE file 11 лет назад
Procfile c0f47c5f82 Re:Crowi 11 лет назад
README.md 3f88b589c7 Merge pull request #3 from yuki-takei/master 9 лет назад
app.js 06b5a3ebc0 modify setup orders of server(to ensure that setting routes is at last) 9 лет назад
app.json 32f39265d4 Add bonsai 10 лет назад
circle.yml b9a8ba555d Prepare to start 1.6.0 9 лет назад
package.json 78b4398c1f reconfigure npm scripts 9 лет назад
webpack.config.js 750ea3d040 WIP: constructing webpack.common.config.js 9 лет назад

README.md

Crowi

Crowi - The Simple & Powerful Communication Tool Based on Wiki

Deploy

Circle CI

Crowi is:

  • Easy to edit and share,
  • Markdown supported,
  • Useful timeline list view,
  • Fast.

Install

Install dependencies and build CSS and JavaScript:

$ npm install

More info are here.

WARNING

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.

Dependencies

  • Node.js (6.x)
  • MongoDB
  • Elasticsearch (optional) (Doc is here)
  • Redis (optional)
  • Amazon S3 (optional)
  • Google Project (optional)
  • Slack App (optional)

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.

$ PASSWORD_SEED=somesecretstring MONGO_URI=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.
  • 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, none

(Opt.) Install Plugins

Install 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.

CAUTION

Plugins are DISABLED in default settings.
Change it on admin page.

License

  • The MIT License (MIT)
  • See LICENSE file.