This is your chance to do something awesome with our mascot - Ruby.
You will only require Git to contribute to this project.
Download Git and install it. Then open up your Terminal and type in the following two commands to configure Git:
$ git config --global user.name "firstName lastName"
$ git config --global user.email [email protected]
Forking allows you to edit the site away from the live-site.
Go to the top-right of this page and locate these three buttons:
Click the Fork button
You can download this project from the Terminal once you've configured Git. The command cd
allows you to move between folders. Navigate to the folder you wish to download this project to, and then type in the following command:
$ git clone https://github.com/YOUR-GITHUB-USERNAME/rubys-threads.git
To navigate inside the folder, then type:
$ cd rubys-threads/
Git has a feature called 'branches', which allow you to store various parts of your project separately. The website, and all files associated to it can be found on the gh-pages
branch. In order to switch to the correct branch, type the following command:
$ git checkout gh-pages
Our graphic for Ruby is a SVG file, and you can find it in images/ruby.svg
. If you are not making a vector image, and instead a bitmap (.jpg, .png or .gif), then optimum size is 218x218.
- Put your ruby images inside the
images
folder. - Locate the
<ul>
tag inindex.html
, at around line 32. - Insert the following code snippet directly below the
<ul>
tag:
<li>
<img src="images/YOUR-RUBY.PNG">
<div class="meta">
<h1 class="name">YOUR-RUBYS-NAME</h1>
<a class="twitter" href="http://twitter.com/YOUR-TWITTER-HANDLE">@YOUR-TWITTER-HANDLE</a>
</div>
</li>
- Save the file and check that the
index.html
file looks okay in your browser. - Go to your terminal, ensure you are in the rubys-threads directory and type the following commands
$ git add --all
$ git commit -m "Added YOUR-RUBYS-NAME"
$ git push origin gh-pages
- Navigate to https://github.com/YOUR-GITHUB-USERNAME/rubys-threads
- Click on 'Pull Requests' on the right side of the screen
- Click on the green 'New Pull Request' button
- Click 'Create Pull Request'
- Write a comment describing your change and create the request
Once the commit is verified by the Young Rewired State team, they will be merged in and be visible on the site.