mirror of
https://github.com/siemens-mobile-hacks/node-serialport-bindings-cpp.git
synced 2026-11-26 02:47:17 +00:00
Merge pull request #300 from xixixao/patch-1
Fix README on Github frontpage
This commit is contained in:
commit
1f3be90bc4
1 changed files with 11 additions and 4 deletions
15
README.md
15
README.md
|
|
@ -80,23 +80,30 @@ You know what you need for you system, basically your appropriate analog of buil
|
|||
* Starting with a a vanilla New Out of the Box Software (NOOBS) Raspbian image (currently tested: 5/25/2013)
|
||||
* Log into your Raspberry Pi through whatever means works best and ensure you are on a terminal prompt for the remaining steps. This could be local or through an SSH (or a serial connection if you like).
|
||||
* Issue the following commands to ensure you are up to date:
|
||||
```
|
||||
|
||||
```bash
|
||||
sudo apt-get update
|
||||
sudo apt-get upgrade -y
|
||||
```
|
||||
|
||||
* Download and install node.js:
|
||||
```
|
||||
|
||||
```bash
|
||||
wget http://nodejs.org/dist/v0.10.12/node-v0.10.12-linux-arm-pi.tar.gz
|
||||
tar xvfz node-v0.10.12-linux-arm-pi.tar.gz
|
||||
sudo mv node-v0.10.12-linux-arm-pi /opt/node/
|
||||
```
|
||||
|
||||
* Set up your paths correctly:
|
||||
```
|
||||
|
||||
```bash
|
||||
echo 'export PATH="$PATH:/opt/node/bin"' >> ~/.bashrc
|
||||
source ~/.bashrc
|
||||
```
|
||||
|
||||
* Install using npm, note this will take a while as it is actually compiling code and that ARM processor is getting a workout.
|
||||
```
|
||||
|
||||
```bash
|
||||
npm install serialport
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue