Skip to content

Latest commit

 

History

History
33 lines (16 loc) · 1.38 KB

README.md

File metadata and controls

33 lines (16 loc) · 1.38 KB

The script is already executable by default

but if it is not, then use chmod u+x create-profile.sh to make it executable

and ./create-profile.sh to run the script

Tips

Once the script has run it will create a folder inside the assets with the name of expert.

Inside the expert's .md file look for the image link image: "assets/images/profiles/Dut-Andrew-Kulang/Dut-Andrew-Kulang

assets/ -> means that inside the assests folder

assets/images/ -> means that there is a folder called images inside assets

assets/images/profiles/ there is also another folder called profiles inside images

assets/images/profiles/Dut-Andrew-Kulang/ Dut-Andrew-Kulang folder contains the picture of an expert by the name of Dut Andrew Kulang

assets/images/profiles/Dut-Andrew-Kulang/Dut-Andrew-Kulang -> rename expert picture to Dut-Andrew-Kulang.jpg (with dashes then add the image format type, jpg, jpeg, png)

Final the image link should look like this

assets/images/profiles/Dut-Andrew-Kulang/Dut-Andrew-Kulang.jpg Your task is to rename the image and add the image extension to this line

feature suggestions

  1. When creating a new profile, the script should be able to check in the .archived folder if the expert already had his/her profile archived. if match found the script should suggest un-archiving it with the options to choose yes/no

  2. Create a script for archiving profiles