Skip to content

Repository files navigation

Samicelu-nodejs-upload

nodejs-upload modified by samicelus, using this with Samicelus-ctrl This version is created based on billfeller's nodejs-upload-image-demo: billfeller's nodejs-upload-image-demo

Install

Make sure that Node.js and graphicsMagick installed on your server.

Then install graphicsMagick on the target PC:

Note that this service is mean to install in the same server as Samicelus-ctrl, and run with its socketManager.js Samicelus-ctrl

Initialize

Edit the config.json

   {
   "uploadServerPort":5901,
   "localUDPPort":7006,
   "socketManagerUDPPort":7007,
   "rootPath":"D:/productData/nodejs_upload/"
   }

Note that browser access the uploadservice through uploadServerPort, uploadservice inform socketManager using UDP via socketManagerUDPPort. rootPath is the root path of this folder.

Start service

Run the service by entering "node "+file name in the command line

node startMain.js

About

nodejs-upload modified by samicelus, using this with Samicelus-ctrl

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages