Share Brilliantly
davinci servers and desktops
npm install express
create a directory for where you want to host the files that your web-server will serve. Create a directory name "root" in that directory.
This folder will be the folder that will hold all the files that you wish to host on the server.
Then open a command prompt
and navigate to that directory. Next initialize the directory for use with a npm package.
node file-server.js
This should start the server on your local machine. It will be running on port 2800.
To test the server, place some files in the root folder you created. Then open the desktop from the desktop blog component. This requires you to add the davinci
provided "data" tab to your workspace. Then open the desktop by clicking the Desktop button. Click connect