Skip to content

Repository files navigation

samicelus-ctrl

The lite product serial code generation and client management system by Samicelus and Xcoder

Install

You should have Node.js and MongoDB installed on your server. The current version is tested on Windows Server 2008 R2 Enterprise 64x.

Enter the root repository in cmd, enter command line "npm install" to install the necessary requirement.

   npm install

Edit 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:\MyDb

Once 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 socketManager

Then, the server is settled.

Initialize client

Install node.js on the target PC, download and install downloadservice:

config and start the client service... Here you go.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages