Introduction to Linux and Git Repository

Introduction to Linux

In the Fablab almost all the machines are dealing with an open source softwares. the open source softwares can be installed in Linux operating system. So it is very important to learn how to use Linux.
At the beginning of the Prefab course we have installed Ubuntu (it is a Linux operating system) in our laptops bu using the virtual machine. then we have learned some useful command that make the work easer for us. some of these command are listed bellow :

Some Important Notes
- Linux environment is very sensitive to the letter case.
- To copy use ctrl+shift+c, paste use ctrl+shift+v.
- To open any directory in the terminal, open the directory then write click then choose open in terminal.

Git Repository Community

Git Repository is a community allowed the knowledge sharing. Each lap in the Fablab academy has a git repository where students push their work and pull other people's work. in such community we gain a benefits mare than give.
To work with git repository I followed the following steps:

Generating SSH Key-pair
The Key-pair are two key, one Public and one privet which together allow us to establish an encrypted connection.I generated a ssh key-pair by following this tutorial.

Very important notes regarding the documentation
- Documentation must be done day by day in order to by more organized. - To write the documentation I'm using an open source text editor called atom. use SHIFT+CONTROL+M to preview the work.
- To convert .md files to .html filesi used a command line tool called pandoc but first we must install pandoc by typing this in the terminal:
sudo apt-get install pandoc
- To style our HTML we used CSS by using the option -c style.css. I used this css style. Just open it and choose Raw view then copy all the code and paste it in the style.css file.
- This is the command line used for convention.
pandoc -s -t html -c style.css file.md -o file.html
- If we have multiple md file need to be converted to html it is prefer to automate the operation by write all the conversions command line in an auto.sh file with the git repository command line and run the .sh file whenever we need to convert a file by typing bash auto in the terminal windows.
- In auto.sh we included 2 option regarding push the change we have done. if we want to push we write a message after bash.auto, if we don't want to push we don't write any message so it will just convert without push the change.