Tutorial: Local Cloud 1st Time instructions [01 Oct 15]

@kimi,

sorry for the lack of useful information as i was replying via mobile.

1.) There’s some other processes running on port 8080 and the spark-server did not managed to fire up. If you are comfortable of looking up what is running on port 8080 and turn it off that would be great!

2.) You can change the port to something else for testing here: https://github.com/spark/spark-server/blob/650275feadaa5a5c28415df485ad3073e10b4e97/js/main.js#L97

But to make sure that your Spark-cli config file is updated as well

3.) The console log output that you should see if everything runs smoothly is:

Loading user ken@lc.com
connect.multipart() will be removed in connect 3.0
visit https://github.com/senchalabs/connect/wiki/Connect-3.0 for alternatives
connect.limit() will be removed in connect 3.0
Starting server, listening on 8080
static class init!
found 48ff6a065067555008342387
found 48ff6a065067555008342387
found 53ff65065067544816420487
found 53ff65065067544816420487
found 53ff6f065075535135261687
found 53ff6f065075535135261687
found 55ff6e065075555329461687
Loading server key from default_key.pem
set server key
server public key is:  -----BEGIN PUBLIC KEY-----
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA0I98joL/q7+M9jdvmek3
b3M9T4GpoT1ruIplrQwmw7yJrR/UHI3AGOGR1xS/LGyEYneWWa3O+s2wZWbY3Ahw
16RAVVYc10k50wIphtYs1ktEiAVsCaCz4rDhFr1Pfkh6Kcb2TmP6dWRNjyTd4Wuh
pkmfRiilUQjY+AfRKEkHZrnkzHfdMCj747RiB6gxE0biprvZN+DdSSajUq1Ju3D9
MgBPh1RfvS0iamv3DFpN3X6u38VskM8MXjfMXnnn6rrUeAyxjiV5NxeknHwz/KMt
mHRgFXwY1qPfhfrxZO1PRreSdNOjjBdLRS7hed2CJLXlGyJIV34nJWr7DsfldnTN
wQIDAQAB
-----END PUBLIC KEY-----

Your server IP address is: 192.168.1.143
server started { host: 'localhost', port: 5683 }

the node app will run forever until you stop it or close the terminal

4.) Only 1 copy of the main.js needs to be running so there’s no need for an additional terminal etc…