The Node platform is an offline (console based) mode of development of server side applications using S8. If you are not familiar with Console mode, It is strongly recommended that you check Console Mode walkthrough before continue.
The platform contains a set of tools to do development and testing of server side applications/frameworks. The user start with an empty draft folder with guides on how to develop Node.js based servers.
The server application can boot from files or be image based.
Console version of S8vm can be used to build iamges/modules that load dynamically in server system.
The server application can be uploaded as normal javascript application (a snapshot of the server system can be built and uploaded to server).
Check the minimal information in contribution page. Install Node.js if needed.
Create a folder (in this walkthrough this folder is called N8TestWalkthrough) and Unzip node.zip contribution.
Also download the console contribution for your platform: Win 32 bits, Win 64 bits, Mac OSX, Linux and copy the s8vm.exe (or s8x64.exe) at the N8TestWalkthrough folder NOTE: Take care if you move s8vm.exe/s8x64.exe to other folders, please check Moving s8vm.exe to other location
In node folder you sholud see:
n8.snapshot.js file is a pre-compiled snapshot included in the contribution. The n8.bat batch file is the main script to execute the n8.sanpshot.js in node.
Let's check build folder.
cmd8, chat, hello folders correspond to samples included in the contribution. The _build.bat batch file invoques the compilation of source code defined y build.js. Again, If you are not familiar with Console mode, it is strongly recommended that you check Console Mode walkthrough to understand what is going on here.
Edit build.js file and comment load(cmd8/build.js) statement and uncomment load(hello/build.js): Code
Goto the console and execute _build.bat batch file:
A new n8.snapshot.js file was generated. Go to N8TestWalkthrough\node folder and launch the server executing n8.bat. The console will show a 'Server running at 127.0.0.1:1337' leyend.