install blockly app in raspberrry pi

721 views
Skip to first unread message

Santhosh v pillai

unread,
Jan 31, 2018, 5:29:53 AM1/31/18
to Blockly
hi all,
how can i install a blockly app in raspberry pi(like pre-installed scratch)

Andrew n marshall

unread,
Feb 1, 2018, 4:28:34 PM2/1/18
to blo...@googlegroups.com
Hi Santhosh,

Blockly is just a JavaScript library hosted in a normal webpage.

It appears that Chromium is the default browser on a Raspberry Pi, which should be good enough to run Blockly. There are other browsers.

You'll need to copy your Blockly app (host web page and all JavaScript files) onto your Pi. You'll probably also want to copy all the files media files to  a local directory and configure the media base URL in your Blockly inject options (the media property). This step will allow Blockly to work without an internet connection.  With that set, just point the browser to the local copy of the HTML file.
On Wed, Jan 31, 2018 at 2:29 AM, Santhosh v pillai <san.sa...@gmail.com> wrote:
hi all,
how can i install a blockly app in raspberry pi(like pre-installed scratch)

--
You received this message because you are subscribed to the Google Groups "Blockly" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blockly+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Santhosh v pillai

unread,
Feb 28, 2018, 2:23:45 AM2/28/18
to Blockly
Thank you for your reply sir
Reply all
Reply to author
Forward
Message has been deleted
0 new messages