Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
JavaScript CoffeeScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
assets
lib
public
routes
test
views
.gitignore
.project
Cakefile
Makefile
README.md
app.js
models.js
package.json

README.md

README

1) インストール

$ cd <nameko>
$ npm install

1.1) Mongo

1.1.1) Macの場合

$ sudo brew update
$ sudo brew install mongodb
$ sudo mkdir -p data/db
$ sudo chown `id -u` /data/db
$ sudo npm install mongodb

# 試しにインサート
$ mongo
MongoDB shell version: 2.0.4
connecting to: test
> use nameko
switched to db nameko
> show collections
> db.posts.insert({name: 'hoge'})
> db.posts.findOne()
{ "_id" : ObjectId("4f9baa6c3b8af52f7fe015d3"), "name" : "hoge" }

1.2) 起動

$ node install . # apiとclientで
$ cake serve

2) 参考サイト

Something went wrong with that request. Please try again.