No description
Find a file
2013-04-11 19:23:17 -05:00
bin test of packaging node with the ide 2012-12-28 23:16:26 -06:00
config temp update install to dropbox 2013-04-05 21:55:19 -05:00
controllers better error pages for all errors, new script for OAuth specific errors to help with setting the date 2013-04-10 13:43:25 -05:00
helpers better error pages for all errors, new script for OAuth specific errors to help with setting the date 2013-04-10 13:43:25 -05:00
logs add logs directory 2012-10-15 11:01:27 -05:00
public update make icon 2013-04-10 16:28:28 -05:00
release update documentation for makefile change 2013-04-10 16:25:45 -05:00
scripts initial build_deb.sh and fix postinst 2013-04-11 19:23:17 -05:00
test add tests, and cleanup code 2012-10-04 16:09:37 -05:00
views better error pages for all errors, new script for OAuth specific errors to help with setting the date 2013-04-10 13:43:25 -05:00
.gitignore add logs directory 2012-10-15 11:01:27 -05:00
.travis.yml add travis config 2012-11-04 14:22:19 -06:00
COPYRIGHT Update COPYRIGHT 2012-10-04 23:59:27 -05:00
GNU-AGPL-3.0 add license and copyright 2012-10-04 23:06:52 -05:00
package.json add initial support for github, oauth2 working 2013-04-05 12:20:51 -05:00
README.md update documentation for makefile change 2013-04-10 16:25:45 -05:00
server.js better error pages for all errors, new script for OAuth specific errors to help with setting the date 2013-04-10 13:43:25 -05:00

Adafruit WebIDE

This is a simple editor designed to help learn the Raspberry PI components, and more.

Easiest Installation

On the Raspberry PI (after expanding the file system):

curl https://raw.github.com/adafruit/Adafruit-WebIDE/alpha/scripts/install.sh | sudo sh

Note: As part of the installation process, the 'webide' user is given access to sudo and sudoers, similar to the 'pi' user. This is needed in order to easily access GPIO pins from the Editor.
If you don't need these features, feel free to manually install the editor below.

Manual Installation (without process monitor)

On the Raspberry PI:

git clone git://github.com/adafruit/Adafruit-WebIDE.git
cd Adafruit-WebIDE
sudo apt-get install nodejs nodejs-legacy npm redis-server git -y
mkdir tmp
npm config set tmp tmp
npm install
vim editor/config/config.js (change port 80 to your port of choice)
node server.js

You can look at the install.sh script if you'd like a process monitor, and to install it as a daemon.

Uninstallation

On the Raspberry PI:

curl https://raw.github.com/adafruit/Adafruit-WebIDE/alpha/scripts/uninstall.sh | sudo sh

Manual Uninstallation

On the Raspberry PI:

rm -r Adafruit-WebIDE
rm ~/.ssh/id_rsa_bitbucket*

Running the Editor

Using Firefox or Chrome (and likely any other webkit browser) on any computer in your internal network:

http://raspberrypi.local

Restart the Editor

If for any reason you need to restart the editor, you can execute the following commands in order

sudo service adafruit-webide.sh stop
sudo service adafruit-webide.sh start

Sudo is required to restart due to the editor running as the 'webide' user.

Advanced Options

Offline Mode Installation:

curl https://raw.github.com/adafruit/Adafruit-WebIDE/alpha/scripts/install.sh | sudo sh -s - --offline

Note: Offline mode does not setup git in any way other than installing it. You'll want to git config your email and name, and setup your ssh keys.

GitHub Mode Installation:

curl https://raw.github.com/adafruit/Adafruit-WebIDE/alpha/scripts/install.sh | sudo sh -s - --github

Note: GitHub mode does not automatically create, and post an ssh key to your GitHub account. It requires a bit more manual setup at this time.

Enable support for Makefiles (execute on the Pi in the terminal, post-installation):

redis-cli hmset editor:settings enable_make "on"

Disable:

redis-cli hmset editor:settings enable_make "off"

License

The editor is licensed with AGPL Version 3. http://www.gnu.org/licenses/agpl-3.0.html

SCREENSHOTS

ScreenShot