ohbm / hackathon2020

Website for the 2020 OHBM Hackathon (Location: 3rd planet from the Sun)
https://ohbm.github.io/hackathon2020/
MIT License
68 stars 66 forks source link

Add your image to the venue page #64

Open Remi-Gau opened 4 years ago

Remi-Gau commented 4 years ago

:smile: So you want to contribute an image to the venue page of the OHBM 2020 brainhack. :smile:

You will have to add file of your image to the img/venue folder and modify the file _data/venue.yml.

So here are the steps you need to do to make a pull request to do so. If you have never made a pull request, you could join the Git and GitHub session of the TrainTrack and then use this as an exercise to practice.

  1. Find a image you want to add If you don't have one, you can search some freely available images on unsplash.

  2. Fork the hackathon2020 repository to create a copy of it your github account You can find more information about forking here

  3. Clone the repository from your github account to your computer

    git clone https://github.com/_YOUR_GITHUB_USERNAME_/hackathon2020.git
  4. Create a new branch where you want to add your image, and switch to that branch

    git branch YOUR_NAME-venue_page_img
    git checkout YOUR_NAME-venue_page_img
  5. Add the image file Put a copy of your image in the img/venue folder and rename it with your github username liek soGITHUB_USERNAME.jpg.

  6. Modify the _data/venue.yml You can simply add the following code to the top of the file and replace the YOUR NAME and IMAGE_FILENAME with the appropriate values.

    -
    name: "YOUR NAME"
    image: IMAGE_FILENAME
  7. Add and then commit all the changes you have made

    git add --all
    git commit -m 'adding image to venue page'
  8. Update your github repository by pushing to it the changes made on the repository on your computer

    git push
  9. Open a pull request Go and open a pull request page from the hackathon2020 repository.

  10. We (and the magic of automation) will take care of the rest. :-)

sofievdbos commented 4 years ago

@Remi-Gau

Step 3: I think it should be changed from:

Cheers!

Remi-Gau commented 4 years ago

Good catch @sofievdbos