[View] [Edit] [Lock] [References] [Attachments] [History] [Home] [Changes] [Search] [Help]
[pi8] Install S8 (nodeJS) in Rasperry Pi 3
- Prepare a new sdcard (32gb sdcard recommended)
- download Noobs as a zip file
- decompress the zip file in the root folder of a clean, FAT32 formated sdcard
- Put the card in the sdcard slot of the Rapsberry Pi and connect power cable
- Install Raspbian O.S.
- [optional] set the wifi connection
- Select/check the Raspbian operating system
- Press the install button
- Configure the OS
- S8 do NOT need any customization to run, but at this point it is convenient to set internationalization parameters of the O.S.
Desktop's lefttop (Applications) menu / Preferences / Raspberry Pi configuration / Localization.
- Check if you have a working internet connection. Just click in wifi icon (upper left, next to volume icon) to force a connection. Issue the following command at the “$” prompt:
$ ping www.google.com
- Make sure you have and updated system. Just type the following:
$ sudo apt updateThis command will not actually update any software on the system, but will download the latest package lists from the software repositories so that Raspbian will be aware of all new software available along with dependencies. Next, run the following command to upgrade any packages installed on your system that need upgrades:
$ sudo apt full-upgradeThis is important to keep your RasPi system synchronized with security updates, etc. These two commands should be issued together and run periodically.
- Download the S8 Node platform
- download node.zip file from U8
- decompress the file in a new folder
- Start the (sample) S8 system server
- Open a console window
- cd (change directory) to the folder you have just created for node.js platform
- start the S8 system server executing
$ node n8.snapshot.js
- You shoud see a line in the console reporting the URL to use to access the S8 System Server from other computers in your local network
e.g. SystemServer running at http://192.168.1.130:8088
- Connect U8 desktop tools to your S8 environment running in Rasperry Pi
- Use an internet browser in a computer of you local network to load the U8 system
- Open a U8 tool (Workspace or System Browser)
- Connect the tool to S8 system running in your Raspberry Pi.
Press connect button and enter the SystemServer's URL