Website can be seen at http://mmhpreview.com
There are a few basic steps that will be common to any website change:
- Create a branch
- Make the changes
- Create a pull request
- Get comments or feedback from other organizers
- Make further changes/commits as appropriate
- Merge the branch
A more detailed description of that process can be found in the Understanding the GitHub Flow Guide.
For small changes (such as updating this README.md or updating an event), the whole thing can be done on github.com without leaving the browser.
To create a branch, make changes, and create a pull request:
- Browse to the file
- Click the pencil icon to edit the file and make your changes
- In the 'Commit changes box' add an appropriate title and description.
- IMPORTANT: Be sure to select the option "Create a new branch for this commit and start a pull request."
- Click "Propose file change".
- On the next screen, add one or more appropriate reviewers.
- Click 'Create pull request'.
- Address comments as needed.
- When approved, submit with a "Squash and merge", cleaning up and updating the commit comment as needed.
The process to add a new event is similar to the process for making a small change and can also completely be done in the browser.
- Browse to the _events directory.
- Open template.md and select and copy the contents.
- Back in the _events directory, click, "Create a new file".
- Paste the template into the new file.
- Remove the first line of the "front matter", the one that says, "published: false".
- Update all the other fields and content as needed.
- Follow the directions from step 3 above to write a description, create a new branch, propose changes, add reviewers, and create the pull request.
If someone has added you as a reviewer on a pull request, you can look at the changes locally by:
$ git fetch # pulls down all branches
$ git branch -a # shows you *all* of the branches prefixed by the remote name, e.g. origin/branch_for_review
$ git checkout branch_for_review
$ bundle exec jekyll serve # Serve the website on localhost:4000 like usual