Node.js is a server side software system designed for writing scalable Internet applications in JavaScript.
- Version: 0.6.x
- Website: http://nodejs.org/
- Download: http://nodejs.org/download/
- Installation guide: https://github.com/joyent/node/wiki/Installation
MongoDB is a scalable, high-performance, open source NoSQL database.
- Version: 2.x.x
- Website: http://mongodb.org/
- Download: http://www.mongodb.org/downloads
- Installation guide: http://www.mongodb.org/display/DOCS/Quickstart
Download a simulator: http://www.plcsimulator.org/
Clone the repository:
git clone git://github.com/morkai/walkner-freestreet.git
or download and extract it.
Go to the project's directory and install the dependencies:
cd walkner-freestreet/
npm install
By default, the application connects to MongoDB on 127.0.0.1:27017
.
If you want to change these values, you can find them in the app/boot/db.js
file.
By default, the HTTP server listens on port 82
. If you want to change that value,
you can find it in the app/boot/express.js
file.
The app/config/testers.js
file contains the mappings of the I/O registers
for different MODBUS TCP/IP slaves.
If not yet running, start the MongoDB.
Start the application server in development
or production
environment:
-
under *nix:
NODE_ENV=development node walkner-freestreet/app/server.js
-
under Windows:
SET NODE_ENV=development node walkner-freestreet/app/server.js
Application should be available on a port defined in app/boot/express.js
file
(82
by default). Point the Internet browser to http://127.0.0.1:82/
and log in using walkner@walkner.pl
/Walkner1
.
walkner-freestreet is released under the CC BY-NC-SA 4.0 License.
Copyright (c) 2014, Łukasz Walukiewicz lukasz@walukiewicz.eu. Some Rights Reserved.