Skip to content

Commit 023b56b

Browse files
committed
update readme for latest info
1 parent ef2fe8f commit 023b56b

File tree

1 file changed

+23
-43
lines changed

1 file changed

+23
-43
lines changed

README.md

Lines changed: 23 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
Adafruit webIDE
22
================
3-
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.
3+
This is a simple editor designed to help learn the Raspberry Pi and Beaglebone components, and more. This editor is designed solely for use on your secure private network as of now.
44

55
Debian Installation (Raspberry Pi and BeagleBone Black)
66
============
77

8+
The WebIDE installer is currently targeting Debian Stretch (latest Raspbian) installations only.
9+
810
On the Raspberry PI or BeagleBone Black (after expanding the file system):
911

10-
curl https://raw.githubusercontent.com/adafruit/Adafruit-WebIDE/alpha/scripts/install.sh | sudo sh
12+
curl https://raw.githubusercontent.com/adafruit/Adafruit-WebIDE/master/scripts/install.sh | sudo sh
1113

1214
Alternatively, you can install using the .deb file:
1315

@@ -21,56 +23,24 @@ If you don't need these features, feel free to manually install the editor below
2123

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

24-
Angstrom Installation (BeagleBone Black)
25-
============
26-
27-
On the Beaglebone (as the default root user), execute each line independently:
28-
29-
echo "nameserver 8.8.8.8" >> /etc/resolv.conf
30-
curl -k https://raw.githubusercontent.com/adafruit/Adafruit-WebIDE/alpha/scripts/install-angstrom.sh | sh
31-
32-
Note: The curl -k command is used due to the Beaglebone not having the github SSL certificate in the default installation.
33-
34-
Note: If you've replaced the default operating system (Angstrom) with Debian or Ubuntu, use the Raspberry Pi installation instructions.
35-
36-
Manual Installation (without process monitor)
26+
Manual Installation
3727
============
3828

39-
On the Raspberry PI:
40-
41-
sudo apt-get update && sudo apt-get -y install build-essential nodejs nodejs-legacy npm redis-server git
42-
git clone git://github.com/adafruit/Adafruit-WebIDE.git
43-
cd Adafruit-WebIDE
44-
mkdir tmp
45-
npm config set tmp tmp
46-
npm install
47-
editor config/config.js (change port 80 to your port of choice)
48-
nodejs server.js
49-
50-
You can look at the install.sh script if you'd like a process monitor, and to install it
51-
as a daemon.
29+
Follow along in the [installation script][1] and pick and choose
30+
the components you'd like to install.
5231

5332
Uninstallation
5433
============
5534

5635
Debian (Raspberry PI and BeagleBone Black):
5736

58-
curl https://raw.githubusercontent.com/adafruit/Adafruit-WebIDE/alpha/scripts/uninstall.sh | sudo sh
59-
60-
Or if you installed with the .deb file:
61-
62-
sudo apt-get remove adafruitwebide
63-
64-
Angstrom (BeagleBone Black, as default root user):
65-
66-
curl -k https://raw.githubusercontent.com/adafruit/Adafruit-WebIDE/alpha/scripts/uninstall-angstrom.sh | sh
37+
curl https://raw.githubusercontent.com/adafruit/Adafruit-WebIDE/master/scripts/uninstall.sh | sudo sh
6738

6839
Manual Uninstallation
6940
============
7041

71-
On the Raspberry PI or BeagleBone Black:
72-
73-
rm -r Adafruit-WebIDE
42+
Follow along in the [uninstallation script][2] and pick and choose
43+
the components you'd like to remove.
7444

7545
Running the Editor
7646
============
@@ -79,7 +49,7 @@ Using Firefox or Chrome (and likely any other webkit browser) on any computer in
7949

8050
Raspberry Pi:
8151

82-
http://raspberrypi.local
52+
http://raspberrypi.local:8080
8353

8454
BeagleBone:
8555

@@ -90,11 +60,18 @@ Restart the Editor
9060

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

93-
sudo service adafruit-webide.sh stop
94-
sudo service adafruit-webide.sh start
63+
sudo systemctl restart adafruit-webide
64+
sudo systemctl start adafruit-webide
9565

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

68+
Status or Logs for the Editor
69+
============
70+
71+
sudo systemctl status adafruit-webide
72+
73+
Logs are in syslog: /var/log/syslog
74+
9875
License
9976
============
10077

@@ -104,3 +81,6 @@ http://www.gnu.org/licenses/agpl-3.0.html
10481
SCREENSHOTS
10582
===========
10683
![ScreenShot](http://www.adafruit.com/adablog/wp-content/uploads/2012/10/WebIDE_Alpha.jpg)
84+
85+
[1]: https://github.com/adafruit/Adafruit-WebIDE/blob/master/scripts/install.sh
86+
[2]: https://github.com/adafruit/Adafruit-WebIDE/blob/master/scripts/uninstall.sh

0 commit comments

Comments
 (0)