LoginSignup
6

More than 5 years have passed since last update.

Crowi をローカルで動かす (Mac OS X 10.11)

Posted at

Heroku などを使わず、最小限の設定で、ローカルで直接起動。

必要ソフトのインストール

  • Node.js (4.x)
    • 今回は 4.8.0 を使用した
  • MongoDB
    • Homebrew でインストールした

Crowi のインストール

% git clone https://github.com/crowi/crowi.git
% cd crowi/
% npm install

起動

% PASSWORD_SEED=20170222crowitest MONGO_URI=mongodb://localhost/crowi node app.js

デフォルトのポートは 3000 番。PASSWORD_SEED は任意の文字列。画像アップロードを有効にするには、FILE_UPLOAD=local をつけて起動する (or デフォルトではアップロード先が AWS になっているので、管理画面で AWS を設定する)。

参考

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6