Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add your image to the venue page #64

Open
Remi-Gau opened this issue May 11, 2020 · 2 comments
Open

Add your image to the venue page #64

Remi-Gau opened this issue May 11, 2020 · 2 comments

Comments

@Remi-Gau
Copy link
Contributor

Remi-Gau commented May 11, 2020

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

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
  1. 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
  1. 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.

  2. 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
  1. Add and then commit all the changes you have made
git add --all
git commit -m 'adding image to venue page'
  1. Update your github repository by pushing to it the changes made on the repository on your computer
git push
  1. Open a pull request
    Go and open a pull request page from the hackathon2020 repository.

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

@Remi-Gau Remi-Gau changed the title ⭐ How to a add your own image to the venue page ⭐ How to a add your own image to the venue page May 11, 2020
@Remi-Gau Remi-Gau pinned this issue Jun 5, 2020
@Remi-Gau Remi-Gau moved this from To do to In progress in General Kanban (Always on duty!) Jun 6, 2020
@Remi-Gau Remi-Gau removed this from In progress in General Kanban (Always on duty!) Jun 6, 2020
@Remi-Gau Remi-Gau changed the title How to a add your own image to the venue page Add your own image to the venue page Jun 13, 2020
@Remi-Gau Remi-Gau changed the title Add your own image to the venue page Add your image to the venue page Jun 13, 2020
@sofievdbos
Copy link
Contributor

@Remi-Gau

Step 3: I think it should be changed from:

  • From git clone https://github.com/_YOUR_GITHUB_USERNAME_/OHBM_hackathon2020.git
  • To git clone https://github.com/_YOUR_GITHUB_USERNAME_/hackathon2020.git

Cheers!

@Remi-Gau
Copy link
Contributor Author

Good catch @sofievdbos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants