SE Tutorial
A starter template for the SE classes
This will contain documentation on each lab
This tutorial marks the start of a tutorial project led by the TA
The objective is to build an app together where the scrum maser is the TA. Each person in the tutorial will be later assigned a task (issues) and asked to do a simple thing in the tutorial that makes sure their familiar with the topic discussed in the lab.
How this works
- A lab-[x].md file for each lab will be present as a guide to the lab
- Every lab.md has a pre, a tutorial and post section
- pre is for things the student should do before and is for saving time in the actual tutorial.
- the tutorial is for making sure the student understands the objectives and is adapted based on the work done by the students so far.
- the post section is for extra reading and extending on the topics covered.
- each lab start and end commit is marked by a tag
lab-n-start
andlab-n-end
where n is the lab number.
- A branch is created wen working on a lab for everyone to collaborate on.
To visit any lesson type in the terminal
$ git checkout lab-n-start
For end of lab code
$ git checkout lab-n-end
Where n is the number of the lab.
You can visit subsection by typing
$ git checkout lab-n-m
Where m is the number of the section in the lesson.
If there an any issues open an issue on the original repo
Environment setup
The course assumes a UNIX shell (Either mac or linux), accordingly if you're a windows user you are requested to setup a UNIX environment follow one of the following guides
- create a Bootable usb - we encourage ubuntu 14.x but 15 will do
- follow the guide suitable to your windows
- in case pc was bought with windows 10 - specifically BIOS is (UEFI)
- in case you upgraded to 10 - specifically BIOS not (UEFI)
- in case windows 8
- in case windows 7
- General case if the above doesn't apply
- if when installing Ubuntu you do not get the option to install along side windows install custom you will need to create 3 partitions one for boot, one for sawp and one for root (/boot, swap, /) respectively boot only needs 200MB swap should be the size of your RAM and home is bigger then 6GB preferably 40 GB should be goo enough.
- after you're don installing you can Boot repair
In case you can't install ubuntu for some reason you can follow along on c9.io by creating a custom workspace.
You must have git installed (obviously)
mac users may need to install x-code (around 1GB) to use git so you should get that over with
SE uses the MEAN stack You can learn the stack on your own by watching this edx course takes around 5 slots to complete
You will need to have on your system mongodb installed.
You will also need nodejs however we encourage you install node using nvm in this course we use node 5.x at the time of this writing it is 5.6
We encourage the use of a simple yet pluggable text editor such as sublime text.
We use Google chrome's dev tools in this course - on linux that would be chromium.
Table of Content
- Get started
- Get started learning HTML and CSS.
- How to use the terminal.
- How to open a simple webpage in the browser.
- Node and mongodb
- Get started with mongodb
- Get stared with node
- Function Callbacks
- Modules
- Basic server
- Serving file from server
- npm install
- Connecting to the database and serving JSON