Skip to content

Commit

Permalink
Install NodeJs (latest) for the Raspberry Pi
Browse files Browse the repository at this point in the history
  • Loading branch information
audstanley committed Aug 26, 2017
1 parent b06afcc commit 4880cdb
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ Install Nodejs

https://nodejs.org/en/download/package-manager/


Install latest version of NodeJs for the Raspberry Pi:

```sh

sudo wget -O - https://raw.githubusercontent.com/audstanley/NodeJs-Raspberry-Pi/master/Install-Node.sh | bash
```

Install dependencies with

```npm install```
Expand Down

3 comments on commit 4880cdb

@Weffe
Copy link
Collaborator

@Weffe Weffe commented on 4880cdb Aug 26, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would suggest using nvm for installing node. It's helpful because what if in the future something happens where we need to downgrade our node version because of some unforseen bug then with using nvm it's very easy to do nvm install 6.2 versus having to manually uninstall our current node version.

Also, I forgot to mention but we can have a .nvmrc file that we can save what version of node we want nvm to use for our project. This enforces the same version of node to be used across all of our computers if we are using nvm. Which provides us some consistency for expected behavior.

@audstanley
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When launching the pi, how is each system launched? I see some things dependent on systemd, and was wondering if I could maybe get together with someone to learn what how the dependencies might cross over to other systems. Weffe, do you mind meeting up on Monday. I'm on campus (and out of class) after 5:15pm. Also, I want to get involved in the Slack group if you know someone that has access to Admin. :-)

@Weffe
Copy link
Collaborator

@Weffe Weffe commented on 4880cdb Aug 26, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So, from what I remember we registered processes to autorun whem the pi was booted up. And for the homebase we just started our scripts by hand for the controller and UI. I can meet with you on Monday at 5:20 in the rover room. Also, I let Tim know to add you to slack.

Please sign in to comment.