So the first assignement in the Fab Academy is to build a personal website that will be used to document all the progress and achievements in the Fab Academy
Various tools were used to create and upload the website online
To build the website, the following steps were followed
By the help of our instructor, and the various resources available on the internet, I started training first and getting used to the HTML Language. One of the main websites used for training was the HTML tutorial available on the w3schools.com Website. A basic index page was first made for testing, using various comand, to check out what I am capable of doing using HTML.
There are various websites available on the internet that could be used to find different templates, that are already designed to fit various needs.
After downloading the Meteor Template used for my index page, various changes were made to edit this template to meet the needs of my website.
Many different pages were made for the website. The template used for the index page was copied and pasted in the new designed page, and changes were done to meet the requirements and type of each page.
The fab-academy archive is hosted in a private server in Git-Lab at the following address: GITLab Fab Acaemy
To upload the website online, I had to setup GIT on the Computer first. To be able to store code and continuously improve it, Git is used as a repository. It stores information on your machine as well as on a server and enables subversions. GitHub is an web-based repository which enables to collaboratively develop code. GitLab is a self-hosted version of GitHub, if you want your code to be in a private environment, this is probably the prefered option.
After downloading the GIT platform form the GIT for Windows Website, I had to setup GIT on my computer.
git config --global user.name "Your User Name" git config --global user.email johnjr@example.com
git config --global core.editor "'C:/Windows/System32/notepad.exe' -multiInst -nosession"
ssh-keygen -t rsa -C "your_email" // used to generate the ssh key cat ~/.ssh/id_rsa.pub // used to copy the ssh key
Our local repository consists of three "trees" maintained by git. The first one is our WORKING DIRECTORY which folds the actual files. The second one is the INDEX which acts as a staging area and finally the HEAD which points to the last commit we have made.
Every time we push a new version of our web page, a new version will be created, keeping the old versions as a reference, to keep track ofchanges. Version control is a system that records changes to a file or set of files over time so that you can recall specific versions later.
git clone git@gitlab.fabcloud.org:academany/fabacademy/2018/labs/fablabberytech/students/wael-khalil.git // whichis used to copy the files from the repository to my filesystem
cd/path/to/repository
git push origin master // used to hand over files to your remote server repository
In order to upload our webside, I had to insert the yml file before that.