The lite product serial code generation and client management system by Samicelus and Xcoder
You should have Node.js and MongoDB installed on your server. The current version is tested on Windows Server 2008 R2 Enterprise 64x.
- mongodb-win32-x86_64-2008plus-3.0.4-signed -MongoDB for windows 64bit
- node-v0.10.26-x64 -node for windows 64bit
mongoDB's official site nodejs' official site Initialize server
Enter the root repository in cmd, enter command line "npm install" to install the necessary requirement.
npm installEdit config.json for your mongoPort and httpPort.
{
"mongoPort":27037,
"httpPort":6007
}Create a folder to store the database, in the command line, enter command line "mongod --port "+ your mongoPort +" --dbpath "+ your database folder path.
mongod --port 27037 --dbpath D:\MyDbOnce your mongo database is running correctly, you can start productManager.js and socketManager.js by entering the command "node "+file name in the cmd command line.
node productManager
node socketManagerThen, the server is settled.
Install node.js on the target PC, download and install downloadservice:
- downloadservice -client download service
config and start the client service... Here you go.