Raspberry Pi WebIDE

Dmitri Popov

Productivity Sauce

Oct 25, 2012 GMT
Dmitri Popov

If you are serious about using your Raspberry Pi (RPi) as a platform for writing and testing code, you'll appreciate the WebIDE software developed by Adafruit. This server-based solution turns your RPi into a flexible coding environment which you can access and use from any machine with a browser. Although WebIDE is geared towards Python, it can handle other languages, including Ruby, JavaScript, and shell scripts. Better yet, WebIDE seamlessly integrates with the Bitbucket code hosting service.

Using the provided installer script, you can deploy WebIDE in an RPi in a matter of minutes. Alternatively, WebIDE can be installed manually, and the project's website provides instructions on how this is done. By default, WebIDE is configured to run on port 80, which can be a problem if your RPi is already running the Apache web server on that port. In this case, you need to configure WebIDE to run on another port. To do this, open the config.js file in the nano editor using the sudo nano /usr/share/adafruit/webide/config/config.js command, specify an alternative port, and restart WebIDE.

 

Once installed, WebIDE guides you through the process of linking the environment to your Bitbucket account. It also conveniently adds the my-pi-projects repository for you, so you can start coding right way. WebIDE features a built-in terminal which can be useful for running commands and testing the code. Every time you hit the Save button, WebIDE saves the changes and commits them to the repository.

WebIDE is still at a very early stage of development, so it might contain bugs. But even in its current form, it looks like a very promising project worth keeping an eye on.

Comments

  • Raspberry Code

    This is cute and all but couldnt you just run an IDE within the distro? I mean for web development, all i need is a text editor and a browser, maybe I'm missing the point. I love the Pi as a device, I just don't see the point of this.
comments powered by Disqus

Issue 170/2015

Buy this issue as a PDF

Digital Issue: Price $9.99
(incl. VAT)

News