Hello developers. This is the repo of the code files for the workshop conducted at SMIT, Sikkim. Thanks to all for attending the workshop. It was a great experience for us. For any problem, drop a mail to Avirup Basu
This repo has two main sections.
- Code: Contains code files for Arduino and Node.js
- PPT: Contains presentation
- First, we need to grab a Personal Package Archive (PPA). Normally this installation method will retrieve the most up-to-date version of node.
curl -sL https://deb.nodesource.com/setup | sudo bash -
- Next, update the package list
sudo apt-get update
- Install node
sudo apt-get install nodejs
- Install extra essentials for NPM (the node package manager). Some of NPM's packages require this data
sudo apt-get install build-essential
- First, we need to make sure we have XCode's developer packages installed. XCode can be downloaded from the apple store for free.
- Second, we need homebrew! Homebrew (very similar to Linux's apt-get) is a package manager for Mac. This makes for an easy installation method via the command line.
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- Now that we have Homebrew installed, we can run the following:
brew install node
- Once finished, type the following to ensure that both NODE and NPM are installed
node --version npm --version
- Each one of those last commands should print a new line in the terminal displaying some number in a format similar to "v4.2.1" or "1.4.7" (not those specific numbers)
Please visit the node.js folder under Code section to see it.