Skip to content
This repository has been archived by the owner on Aug 27, 2018. It is now read-only.

Development environment

Bruno Michel edited this page Jul 3, 2015 · 5 revisions

Deprecated: you should go to https://cozy.io/en/hack/getting-started/

Requirements

  • NodeJS >= 0.6.0
  • CoudchDB >= 1.2.0
  • Cozy Data System
  • Haibu >= 0.8.4

Database

Follow CouchdDB install instructions then clone Cozy Data System repository (+ npm install). Then starts data system with this command:

coffee server.coffee

Software manager

Cozy Home uses Haibu to manage other applications

sudo npm install haibu -g
sudo haibu --coffee

Get software

Simply clone the repository and install dependencies:

git clone [email protected]:mycozycloud/cozy-home.git
cd cozy-home
npm install

Install Railways

sudo npm install railway -g

Run Notes server

Use following command:

railway s

For automatic reloading after modifications:

supervisor -x coffee -e coffee server.coffee

Don't forget to install supervisor

sudo npm install supervisor -g

Build front end

Install brunch and download dependecies

npm install brunch -g
cd client
npm install

Use following command:

cd client/
brunch build

For automatic reloading after modifications:

brunch watch
Clone this wiki locally