After installing Git, launch Git bash and set up your account.
Setting up GIT account
git config --global user.name "kennyphay"
git config --global user.email kennyphay38@gmail.com
Generate SSH Key
To Establish a connection between my computer and GitLab, the following commend is run.
cat ~/.ssh/id_rsa.pub
How to upload your weekly assignment
Here are the steps to update your reposit. you need to repeat these steps(see in red) everytime you upload your updates.
1. Cloning the doc archieve
Do this to download files, note that fablabsingapore is where I am at, change it to your fablabname.
git clone git@git.fabacademy.org:fabacademy2017/fablabsingapore.git
2. Go to you student directory. In my case is /students/420. Stage all the file in the directory
git add .
3. Commit the files already staged. You can put any remark between the ' '.
git commit -m ‘update week1 assignment’
4. Push all the file to GitLab
git push origin master
Note the " writing objects : 100% ", this tells you that your files have been sent sucessfully.
Note when uploading the weekly exercise.
1. Make sure you are in the your directory, very important, otherwise you could be uploading to someone else's directory.
2. Check the size of your upload, make sure all the picture and video are small or compressed. if you upload size is very large (ie in the range of GB), you will receive some love e-mails...
HTML file
HTML is short for "HyperText Markup Language".Every web page is actually a HTML file. Each HTML file is just a plain-text file, but with a .html file extension instead of .txt. A HTML file can be written with a simple text editor such as notepad as shown below, However, manual coding is very time consuing.
WebPage editor
To speed thing up, a free software called openelement is used instead of wrting HTML code manually. in open element, you can either edit webpage in a wysiwyg (what you see is what you get) or manually editin HTML code.
Instruction for using open element can be found from the following web link
http://wiki.openelement.com/en/index.php?title=Main_Page