No description
Find a file
2018-02-20 11:37:48 -06:00
config fix git clone and update version and port 2018-02-16 09:46:26 -06:00
controllers working file uploads 2018-02-16 16:23:23 -06:00
db submit setup user information to nedb 2018-01-31 15:23:41 -06:00
helpers fix moving files 2018-02-16 14:16:46 -06:00
logs add logs directory 2012-10-15 11:01:27 -05:00
models change path loading 2018-02-13 12:11:51 -06:00
public delay on initial command run 2018-02-20 11:37:48 -06:00
release Use HTTPS for secure artifact downloads 2016-09-19 11:18:19 +01:00
scripts latest installation scripts 2018-02-13 12:13:21 -06:00
test add tests, and cleanup code 2012-10-04 16:09:37 -05:00
uploads working file uploads 2018-02-16 16:23:23 -06:00
views clean up views 2018-02-13 13:15:45 -06:00
.gitignore submit setup user information to nedb 2018-01-31 15:23:41 -06:00
.travis.yml update node version for travis 2018-02-13 13:28:37 -06:00
combined.log more refactoring of webide 2018-02-02 15:06:34 -06:00
COPYRIGHT Update COPYRIGHT 2012-10-04 23:59:27 -05:00
error.log more refactoring of webide 2018-02-02 15:06:34 -06:00
GNU-AGPL-3.0 add license and copyright 2012-10-04 23:06:52 -05:00
monitor.js simple script to monitor process 2018-02-09 14:06:01 -06:00
output.log more refactoring of webide 2018-02-02 15:06:34 -06:00
package.json working file uploads 2018-02-16 16:23:23 -06:00
README.md remove github and offline instructions 2018-02-06 15:49:08 -06:00
server.js working file uploads 2018-02-16 16:23:23 -06:00

Adafruit webIDE

This is a simple editor designed to help learn the Raspberry Pi (including the Raspberry Pi 2) and Beaglebone components, and more. This editor is designed solely for use on your secure private network as of now.

Debian Installation (Raspberry Pi and BeagleBone Black)

On the Raspberry PI or BeagleBone Black (after expanding the file system):

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

Alternatively, you can install using the .deb file:

curl -O https://adafruit-download.s3.amazonaws.com/adafruitwebide-0.3.12-Linux.deb
sudo dpkg -i adafruitwebide-0.3.12-Linux.deb
sudo apt-get -f install

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.

Note: This is also the default installation for any Debian or Ubuntu operating systems

Angstrom Installation (BeagleBone Black)

On the Beaglebone (as the default root user), execute each line independently:

echo "nameserver 8.8.8.8" >> /etc/resolv.conf
curl -k https://raw.githubusercontent.com/adafruit/Adafruit-WebIDE/alpha/scripts/install-angstrom.sh | sh

Note: The curl -k command is used due to the Beaglebone not having the github SSL certificate in the default installation.

Note: If you've replaced the default operating system (Angstrom) with Debian or Ubuntu, use the Raspberry Pi installation instructions.

Manual Installation (without process monitor)

On the Raspberry PI:

sudo apt-get update && sudo apt-get -y install build-essential nodejs nodejs-legacy npm redis-server git
git clone git://github.com/adafruit/Adafruit-WebIDE.git
cd Adafruit-WebIDE
mkdir tmp
npm config set tmp tmp
npm install
editor config/config.js (change port 80 to your port of choice)
nodejs 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

Debian (Raspberry PI and BeagleBone Black):

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

Or if you installed with the .deb file:

sudo apt-get remove adafruitwebide

Angstrom (BeagleBone Black, as default root user):

curl -k https://raw.githubusercontent.com/adafruit/Adafruit-WebIDE/alpha/scripts/uninstall-angstrom.sh | sh

Manual Uninstallation

On the Raspberry PI or BeagleBone Black:

rm -r Adafruit-WebIDE

Running the Editor

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

Raspberry Pi:

http://raspberrypi.local

BeagleBone:

http://beaglebone.local:8080

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.

License

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

SCREENSHOTS

ScreenShot