$ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash
Note: On Linux, after running the install script, if you get nvm: command not found
or see no feedback from your terminal after you type:
command -v nvm
$ source ~/.nvm/nvm.sh
$ nvm install node
$ npm init -f
$ npm install formidable --save
Linux因为symlink安装不成功时,可以在Windows上安装,因为有vagrant可以同步两边文件,所以在哪边安装差别不大。
$ npm install
$ node server
Go To http://localhost:3001
- Use Express.js as web server.
- Use EJS as template engine.
- Render single web page at server-side by using EJS.
- Use Vanilla Javascript implemented
AJAX
,Datagrid
,Tooltip
classes. - Implemented dynamic loading tooltip data.
- Implemented local prev/next functions, which not trigger server-side reload.