Skip to content

create or update profile on computer

bmen edited this page Mar 31, 2023 · 1 revision

Laptop with VSCodium and GIMP

This how-to requires you to be at a laptop / PC and have VSCodium installed with the LEAD Repository checked out. You need to know how to create files / folders and commit them to the repository. Also, you need to have GIMP installed and have basic understanding of Markdown.

Step 1: Access Data

In Github, open the issue containing the new profile data.

Step 2: Create Profile File

  • create a new file in LEAD/_profiles/ named "surname-name.md", for example "Emile-Exampleton.md"

  • copy the template (see below) into the new file

Step 4: Upload Image

  • upload image to LEAD/assets/images/profiles/NAME-HERE/ :
    • you will need to create a new folder with the name of the new peer. Replace any blank spaces with a - (meaning a minus). To create a new folder, in the file explorer in VSCodium, navigate to the folder assets > images > profiles . Right clock on profiles , click New folder and type the name.
    • drag the image you just exported into the new folder
  • the image will be shown in the file explorer, located in the newly created folder.

Step 5: Insert Image Path

  • right click on the image and click Copy Relative Path
  • go to the profile file, mark /assets/images/profiles/NAME_HERE/NAME_HERE.jpg and hit ctrl+v. NAME_HERE should be replaced with the names you gave the new folder and new image.
  • write new image URL into template
    • it is also possible to have additional images in the description. For this, the images also need to be uploaded to LEAD/assets/images/profiles/ in the above mentioned manner (they need to be resized/scaled, but not cropped). The images can then be included in the description text via markup and the github link, or as a gallery using the gallery code snippet you can find below.

Step 6: Copy Profile Information

copy the rest of the information separately from the issue into the new file

  • for example, replace NAME_HERE with the name of the new LEAD member.
  • the region needs to be in the official list of regions (which can be found here below the heading "Region")
  • when copying the name of the hub / organization, check on the LEAD website in the filter (or in the existing profiles) if the hub is already present in another profile. If that is the case, check that it is spelled in the same way. Otherwise the differently spelled hub would appear also in the hub filter list.
  • copy the skill data:
    • The text below "Skill 1" in the issue shall replace SKILL1 in the profile file
    • The text below "Qualifications for Skill 1" in the issue shall replace QUALIFICATION1 in the profile file
    • Skills must be in the list (which can be found here below the heading "Skills"). If it is not, copy the text that was provided to the description text and use a skill from the list instead. (Example: member stated "painting" as skill 1. So: copy "painting" to the qualification for skill 1 and write "Media & Art" instead)
    • if markdown needs to be used: (for new lines, images, links etc.)
      • use \n to create a new line, to have a new paragraph shown you need two lines → \n \n

      • use * to create lists

      • use ![alternative text](/assets/images/profiles/NAME_HERE/NAME_HERE.jpg) for images

      • use [link-text](https://www.example.com) for links

      • example:

    skills:
      - {name: Hardware & Repair, number: 1, qualification: "
        Here you find a list of accomplishments: \n 
        \n 
        * Diploma in XY [link-text](https://www.example.com) \n
        * Certificate in XYZ \n
        "}
  • if less than four skills are in the profile: delete the lines in the profile file that are not used. For example: If three skills are in the profile, delete the line - {name: SKILL4, number: 4, qualification: "QUALIFICATION4"} .
  • if the contact options "facebook", "instagram" etc. have the full name instead of the username, look the person up on facebook/instagram and copy the username instead. Otherwise the links on the profile won't work.
  • when copying the description text, check if it is written in proper markdown (for example, between two paragraphs there always needs to be an empty line, otherwise it is shown as one paragraph without any wordwrap).