资源说明:A NetLogo web client that uses node.js to talk to a remote NetLogo instance. Obsoleted by:
## Installation instructions: ### Prerequisites Set up Node/NPM (Node Package Manager) on your machine. Then, from your home directory (`~`), run the following commands: `npm install express@2.5` (this installs Express) `npm install socket.io express` (this installs Socket.io–an all-browser means of utilizing web sockets) `npm install jade express` (this installs the Jade templating engine) `npm install jquery` (this installs jQuery, which is currently only used by the server for POSTing to a remote headless instance) ## Running To start the server, run this command: `node app.js` Then in your web browser, navigate to [http://localhost:3000](http://localhost:3000). ## Troubleshooting If you try to use Express 3.0 instead of 2.5, you'll likely get this error: http://stackoverflow.com/questions/10191048/socket-io-js-not-found You can fix it with: `npm uninstall express` `npm install express@2.5`
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。
English
