IOS server for TWCourse
JavaScript CSS
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
models
public
routes
views
.DS_Store
.gitignore
README
app.js
manifest.yml
package.json
settings.js

README

步骤:
1. install mongodb on mac:
sudo port install mongodb
mkdir /opt/local/data
mkdir /opt/local/data/db
cd /opt/local/bin
sudo ./mongod --dbpath /opt/local/data/db/

2. install nodejs on mac:
brew install node
或
sudo port install nodejs

3. setup repo:
git clone git@github.com:zhengjianing/TWCourse.git
cd TWCourse
npm install
npm install qiniu (由于7牛不在这个npm install的范围之内,需要手动添加)
node app (或开启debug模式:1.启动debugger:node-inspector; 2.启动server:node --debug app )
visit localhost:3000