Develop environment for Crowi developers.
- Docker (Docker Compose)
- Node
I am using "Docker for Mac" and "Node Version Manager (nvm)".
$ git clone https://github.com/suzuki/crowi-develop
- Notice: Replace URL to your forked Crowi repository.
$ git clone git@github.com:crowi/crowi.git
$ cd crowi
$ npm install
$ docker-compose up -d
- Notice: Replace "somesecretstring" to your PASSWORD_SEED value.
$ cd crowi
$ PASSWORD_SEED=somesecretstring \
MONGO_URI=mongodb://localhost/crowi \
ELASTICSEARCH_URI=localhost:9200 \
REDIS_URL=localhost \
FILE_UPLOAD=local \
node app.js
Hack the Crowi as you wish.
$ docker-compose stop
And go to bed to sleep.
MIT License
I learned the docker configuration from these repositories. Thank you.