Raspberry Pi Mechatronics Projects HOTSHOT
上QQ阅读APP看书,第一时间看更新

Installation of the Raspberry Pi WebIDE

We will get started by using a remote login client such as PuTTY to remotely log in to the Raspberry Pi and install the Adafruit WebIDE. In order to get started with examples from the Adafruit repository, we need a Bitbucket account, and Adafruit provides detailed instructions for this at http://learn.adafruit.com/webide/getting-started.

Engage thrusters

  1. Once we have logged in, the Adafruit learning system's website recommends executing the following to install the web server:
    curl https://raw.githubusercontent.com/adafruit/Adafruit-WebIDE/master/scripts/install.sh | sudo sh
    
  2. It should take about five minutes to finish the installation. If the installation was successful, we should be able to see the message marked in the following screenshot:
    Engage thrusters

    Successful completion of the Adafruit WebIDE installation

  3. Assuming the installation was successful, we should be able to launch the Adafruit WebIDE using http://raspberrypi.local.
    Engage thrusters

    Adafruit WebIDE launched for the first time

  4. In order to make use of the examples from Adafruit Industries, we need to create a Bitbucket account (it is possible to create one with a Google account) and integrate the WebIDE with the Bitbucket account. The instructions for this are provided on the web page, as shown in the preceding screenshot.

Objective complete – mini debriefing

If the installation was successful, after completion of the registration, we are done with this task. Let's move on and learn to code using the WebIDE!