Week's goals:

1- Getting use to Gitlab
2- Build my own website using HTML template.

Gitlab

Steps:
1) Configuration
git config --global user.name "noura-alnuaimi"
git config --global user.email “noura.alnuaimi@outlook.com”

2) Clone with SSH
git clone git@gitlab.fabcloud.org:academany/fabacademy/2022/labs/uae/students/noura-alnuaimi.git
3) Generating ssh key
ssh-keygen -t ed25519 -C “noura.alnuaimi@outlook.com”
4) Add ssh into gitlab
5) Adding configuration file GitLab CI for plain HTML websites
Edit on this file (.gitlab-ci.yml), by coping and pasting the following code:
pages: stage: deploy script: - mkdir .public - cp -r * .public - mv .public public artifacts: paths: - public only: - master

Manage website changes

Using terminal to upload changes into Github using the following commands:

  • lslist
  • cdto locate required folder
  • git add . to add new commit
  • git commit -m "message"commit the files with a note
  • git pushupload new changes to website
I learned the above information from the pre-fabacademy workshops. The workshop was giving online using Microsoft teams by Eng. Hashem. The workshop was about how to start building my own website. At first, I get to know Git and I installed it on my Mac laptop. I used brackets software to edit on the template; updating pages content. Also, in order to add features like table or picture I used HTML codes I copied and modifiy based on my preferences from HTML tutorial.

Challenge:

I faced few issues while trying to upload the screenshots images for each week. Also, I tried to compress and reduce images size using preview software in my Mac laptop as well as save screenshot from powerpoint as a picture to minimize the size in order to upload pictures to my website.