Thank you so much!
- Fork this repo. Here's what this means.
- Read and have on hand the Jekyll reference: https://jekyllrb.com/docs/quickstart/
- Read and have on hand the Shopify liquid templating reference: https://help.shopify.com/en/themes/liquid
- Please use bootstrap for everything! https://getbootstrap.com/
- Create a dev config file:
$ cp _config.yml _config.dev.yml
- Run a local instance of Jekyll with file watch in dev:
$ bundle exec jekyll serve --watch JEKYLL_ENV=development --config _config.dev.yml
- Open http://localhost:4000/ in your browser to view
- Pages can be edited by finding their name.html in the pages directory
- Page parts (templates) can be edited by going to _includes or _layouts and editing the html
- Fork the repo and commit your changes then create a pull request
- Test the things. Make sure the expected things are done. Make sure the rest of the page works.
- Open a pull request. And here's what that means. Don't forget to compare your fork and USACS, so head is the USACS repo and base is your branch. It's called a PR.
- Wait for use to merge it. We'll request changes if needed.
This is how many open-source communities work. So this will give you practice.
But why do they do this?
Open source communities do this to allow a measure of control over the code theyhave. By forcing the PR process, somebody who knows what's going on can test the code and approve of the style and intent.
- @agoodkind
- @hemangandhi
- The rest of USACS!
- The GitHub flow.
- What commiting etc. means.
- This is what pushing means.
- This is what merging, branching, etc. is about.
We'll talk about the relevant details when they come up.
Here are the git commands:
# fork the repository on GitHub.
git clone <gitHub gives this clone URL>
# make the changes to the files.
git add <the files you changed or ones you added or removed>
git commit -m "A descriptive string describing the changes."
git push
# go to the USACS repository on GitHub and click "new pull request"
# fill up the details and create the pull request
# if you have to fix issues, I'll tell you.