srod / fig-node

fig, a docker tool, for quick runs web, database ... this is node.js server example.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#fig and node.js simple server

requirement

note: MacOS have to install docker via docker-osx. boot2docker is not working.

usage

git clone https://github.com/clonn/fig-node.git fig-node
cd fig-node
fig up -d

then you will see message below,

 Recreating fignode_web_1...

test

assume that did not set $USER/.docker-osx/defaults. settings are default value. you can try this.

 curl localdocker:3000
 #show: hello world

About

fig, a docker tool, for quick runs web, database ... this is node.js server example.