-
Pick some directory to checkout node to:
cd ~/projects
-
Check out project, and change directories:
git clone https://github.com/aremnev/imagerate.git cd imagerate
-
Prepare node virtual environment with node-0.8.14 and installed modules:
make
-
Also if you don't want to use virtual node, you can skip previous step and install modules with your global node ():
make clean install
-
Now you can test and run application:
make test start
-
Install AppFog gem and upload files to AppFog:
make af-install af-update
clean
- remove node_modules and virtual environment folder.node-virtual
- prepare node virtual environment (nodeenv) with node-0.8.14install
- install mongodb and executenpm install
test
- execute testtest-coverage
- execute tests and generate coverage report file:imagerate/covarage.html
(JScovarage)af-install
- install af (AppFog) gem.af-update
- prepare shrinkwrap and upload files to AppFogall
-make all
is the same asmake
without a command, executemake clean node-virtual install