- If you don't already have a GitHub account, head over to their website to create one.
- Create a fork and clone a copy
If you're new to Git, here's some resources to help you:
-
Go to your project directory
cd /path/to/joy-of-coding-episode-guide
-
Update your master branch
git pull upstream master
-
Create a new branch (e.g add-episode-1234)
git checkout -b add-episode-1234
-
Create a new folder in the
_episodes
folder. The name of your folder should be composed of 4 digits (e.g 1234 for the episode 1234). -
Create an
index.md
file inside your newly created folder. -
Copy and paste the following template inside the
index.md
file.--- layout: default date: YYYY-MM-DD number: 1234 --- ## Episode 1234: MMM DD, YYYY ### Links ### Topics ### Other
-
Edit your
index.md
as needed. You can look other episodes' files to see an example. -
Save your changes to your fork
git add 1234 git commit -m "add episode 1234 git push origin add-episode-1234
-
Open a Pull Request and wait for Mike to merge it.
-
Go to your project directory
cd /path/to/joy-of-coding-episode-guide
-
Install the dependencies
bundle install --path vendor/bundle
-
Run Jekyll
bundle exec jekyll serve