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

Modified README #318

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 20 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,32 @@ Then follow the steps shown in [this video](https://theduckgallery.zenika.com/ho
### The developer way to contribute

1. Go to https://pimpmyduck.zenika.com and create your own duck.
2. Export it to an image (use the download button).
3. Fork [this repository](https://github.com/zenika-open-source/the-duck-gallery) and clone it.
4. Add your image into the `ducks/` folder, with your GitHub username as filename (ex: `your-username.png`).
5. Into the `contributors.js` file add a line with your GitHub username and a short message.
2. Export it to an image (use the ***download*** button).
3. Fork [this repository](https://github.com/zenika-open-source/the-duck-gallery). Go to your GitHub account, open the forked repository.
4. Click on the ***Code*** button and then click the copy to clipboard icon.
Open a terminal and run the following git command:

> git clone "**url you just copied**"

5. Change to the repository directory on your computer (if you are not already there):

> cd the-duck-gallery

6. Now create a branch using the git switch command:

> git switch -c **your-new-branch-name**

7. Add your image into the `ducks/` folder, with your GitHub username as filename (ex: `your-username.png`).
8. Into the `contributors.js` file add a line with your GitHub username and a short message.

```js
{ username: 'your-username', message: 'Say something kind or fun' },
```

6. Commit and push your modifications.

> git push origin -u **your-branch-name**

7. Create a PR.

That's it :tada: We will review and merge it if everything is OK :+1:
Expand Down