Labs
Version Control System Labs
Github Working Repository Creation
Once signed up in Github create a working repository
Select "+" in the upper right corner then "New Repository"
Name TheIoTLearningInitiative
Description TheIoTLearningInitiative
Select "Initialize this repository with a README"
Add a License type "Apache License 2.0"
Then "Create Repository"
Finally your github repository should be created having a url
https://github.com/YourGithubUserName/TheIoTLearningInitiative
Git Installation and Setup under Development Board
Make sure you have git installed in your Linux box
root@edison:~# opkg update
Downloading http://repo.opkg.net/edison/repo/all/Packages.gz.
Inflating http://repo.opkg.net/edison/repo/all/Packages.gz.
Updated list of available packages in /var/lib/opkg/all.
Downloading http://repo.opkg.net/edison/repo/edison/Packages.gz.
Inflating http://repo.opkg.net/edison/repo/edison/Packages.gz.
Updated list of available packages in /var/lib/opkg/edison.
Downloading http://repo.opkg.net/edison/repo/core2-32/Packages.gz.
Inflating http://repo.opkg.net/edison/repo/core2-32/Packages.gz.
Updated list of available packages in /var/lib/opkg/core2-32.
Downloading http://iotdk.intel.com/repos/3.5/intelgalactic/opkg/i586//Packages.
Downloading http://iotdk.intel.com/repos/3.5/iotdk/edison/all/Packages.
Downloading http://iotdk.intel.com/repos/3.5/iotdk/edison/core2-32/Packages.
Downloading http://iotdk.intel.com/repos/3.5/iotdk/edison/edison/Packages.
Collected errors:
* opkg_download: Failed to download http://iotdk.intel.com/repos/3.5/intelgala.
* opkg_download: Failed to download http://iotdk.intel.com/repos/3.5/iotdk/edi.
* opkg_download: Failed to download http://iotdk.intel.com/repos/3.5/iotdk/edi.
* opkg_download: Failed to download http://iotdk.intel.com/repos/3.5/iotdk/edi.
root@edison:~#Configure your name and email under Git:
Github Repository Cloning
Clone your remote github repository under your development board
Github Repository Local Modifications
This procedure applies every time you modify a file.
Github Repository Commit Modifications
Before we commit our changes, some sharing of wisdom
First line: Title starting with your githubusername, 50 chars max
Second line: A blank line
Third line: Description of the changes, as many lines as required, 80 chars max per line
Now, let's commit our changes
Github Repository Push Modifications
See changes under https://github.com/YourGithubUserName/TheIoTLearningInitiative
Project: Base Directory
Make a directory called "InternetOfThings101", create a README.md file and push modifications
See changes under https://github.com/YourGithubUserName/TheIoTLearningInitiative
Your github repository directory structure shall be at this point as follows:
Last updated