This is a simple test checking dnode compatiblity on the console as shown here:
https://github.com/substack/dnode/blob/master/README.markdown
I am doing each example independently so I can just pull it down and run it seperately.
git clone https://github.com/rockhowse/dnode-test-console.git
Then run the following commands to install the proper node.js dependencies (dnode and friends) for this project:
C:\Users\Sexbox\Desktop\nodejs>cd dnode-test-console
C:\Users\Sexbox\Desktop\nodejs\dnode-test-console>npm i
...
[email protected] ./node_modules/dnode
+-- [email protected] ([email protected])
+-- [email protected] ([email protected] [email protected])
At this point, you can start up the server:
C:\Users\Sexbox\Desktop\nodejs\dnode-test-console>node server.js
Open up another console and start up the client:
C:\Users\Sexbox\Desktop\nodejs\dnode-test-console>node client.js n = 6600
tada! simple remote method run on the server using dnode =)
-rOcK