This repository has been archived by the owner on Jul 8, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Development environment
Benibur edited this page Aug 6, 2012
·
17 revisions
- NodeJS >= 0.6.0
- MongoDB >= 2.0.0
- Brunch
- Redis
- CoffeeScript
- Jade
- Stylus
Run following commands (debian/ubuntu)
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10
echo "deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen" | sudo tee --append /etc/apt/sources.list
sudo apt-get update
sudo apt-get install mongodb-10gen
sudo apt-get install redis-server
Simply clone the repository and install dependencies:
git clone git@github.com:mycozycloud/cozy-notes.git
cd cozy-notes
npm install
Install Railways
sudo npm install railway -g
git submodule init
git submodule update
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
Install brunch and download dependecies
npm install brunch@1.0.3 -g
cd client
npm install
Use following command:
cd client/
brunch build
For automatic reloading after modifications:
brunch watch
Run back-end tests
cake tests
Run front-end tests
cake tests:client