To start things off, I didn’t have that huge background in HTML coding since we had a brief overview of the language at university so when I heard that I have to create my own website I said to myself “Well this is going to be hard and I won’t think I’ll be able to accomplish such task” but here I am proud of what I was able to come up with and actually I never could’ve that creating a website will be that easy so if anyone is wondering if you can do it or not trust me you can do it and you’ll have fun doing so
In this week of the fab academy we learned to use many software’s, each software has it’s benefit and will help me in developing my own website and they’ll help me in my documentation as well. I’m going to list down each software with a brief description of it.
Git bash: Is an application that uses specific commands to apply changes to our websites.
Brackets: Is a software that focuses mainly on web development and it’s used for editing source codes as well. It’s main purpose is strictly tied to the live editing functionality of the HTML, CSS and JavaScript coding.
GitLab: Is a service that provides the Git repositories a remote access. It also works as a host to anyone’s code. It also helps in providing extra features that are purely designed to help in managing software development lifecycle. Some of the additional features include managing code sharing between different people and devices.
Bootstrap: Is considered to be the most popular CSS framework for websites that are responsive and mobile-first.
Atom: Is a software that is developed by GitHub. It is an open source text editor and it provides us with a platform that will help in creating an interactive and responsive web application.
Installing Git Bash software
Creating an account on GitLab then configuring my account using Git Bash and write the following commands:
The purpose of generating a ssh is to make a direct connection between the computer and Gitlab
We received an email from fab academy coordination to access the Fab Academy 2020 Archive.
we supposed to go to GitLab and reset our password using the same email that we used when we resister for fab academy.
we logged in to our pages and we add the ssh key. After that we downloaded all the defaults files which included the website that we can use it so we tried it.
Our instructor explained for us how use this website using markdown language. And here are the steps that we did to test this website:
1- We followed the mkdocs tutorial.
2- In order to manually install MkDocs we need Python installed and python manager pip then we check if they already installed from the command line:
$ python --version
Python 2.7.2
$ pip --version
pip 1.5.2
3- I installed the Mkdocs package using the following command pip install mkdocs
4- I wrote mkdocs serve
to generate a live preview link of the web and I start making changes but honestly I didn’t like the website design so I decided to stay with the web that I created so I start removing the default using this command git rm -r file name .file extension
. and replacing them with my website files.
I put the file on my folder “Shamma_Web”
I download Brackets
I opened the index file using brackets and also i opened the live preview to see the changes at the same time.
I Modified the template using brackets.
Now I need to follow some steps using Git Bash to add changes, pull, commit and push the files. This can be done using the following commands:
git pull
git add --all
git commit -m "message"
git push
And Here is My website Link
I made some modification on my website which is not similar to salama’s website. The first one is that I used the light green color for the whole page but salamaa used diffrenet colors. The second difference is that I used a markdown for documenting my weekly assignment but salama used html.
We are required to document every step that we perform in detail while developing the website. Furthermore, we are required to document our work on a weekly basis and upload it to our website. I didn’t feel that HTML was the ideal program the document my steps so I asked my colleagues and they told me that they are using atom software to document their steps which uses a language called markdown that is easier than HTML’s. So I opened a tutorial and learned about this language and used this software to document all my steps and then I had to change the language from markdown to HTML so I downloaded a program called Pandoc and it helped me transfer the file directly from markdown to HTML and this was done by the following command:
pandoc filename.md -f markdown -t html -c filename.css -s -o filename.html
I faced several issues while developing my website, The first being that I saved the files in a wrong folder and when I tried to push them they were not uploading to the website and then I realized that I had to save the files within the folder that has the .git file. The second issue that I faced was regarding the SSH Key, because I changed its location and I placed it in another folder so it wasn’t working, I had to do a new SSH Key and I kept it in the same location and it worked. The third issue was that I was getting an error which is shown in the screenshot below, I tried searching in google to know how I can resolve it and I found that the only thing to do to solve this problem is to write this command git pull