Skip to content
This repository has been archived by the owner on Mar 10, 2020. It is now read-only.

Indigeni/SharpNodes

Repository files navigation

try mongoose and mongo
==========================

steps: 

* create "sharpnodes" db in mongodb

* create new nodes in mongo
  http://localhost:3000/nodes/new with fixed data

* fetch nodes in mongo
  http://localhost:3000/nodes.json

start tests
===========

1. mongod --dbpath data
2. jake spec

how to deploy
=============

1. Install Ruby and rubygems (are already installed on mac os x) 
2. `gem install capistrano` (use sudo if it give errors)
3. `cd SharpNodes`
4. `cap deploy`