This repository holds content for the Cascadia R Conference website. The most recent conference organizers can be found here and our contact info is available at CascadiaRConf
Interactions associated with this repository fall under the same Code of Conduct used for the conference.
Please feel free to submit an issue with any recommendations for our website.
If you have specific changes to website content or code you would like to suggest, please follow these steps.
- Fork this repository to create a copy under your GitHub account.
- Create a development
dev
branch in your fork. - Working on this
dev
branch, make any changes to the website. - Optional. Render the website locally to check your changes. See instructions below for rendering locally.
- Once you've completed your changes, make sure the
newsite
(default) branch in your fork is up-to-date with the parent repo inpdxrconf
. If you need to update, you will see a page like this on GitHub. Sync your fork before continuing. - Merge your
dev
branch with yournewsite
branch. Correct any merge conflicts as needed. This ensures that when you merge with the live website, there are no issues. - Once no conflicts exist, make a pull request to merge your
newsite
fork to thepdxrconf newsite
branch. - Confirm that your edits look good by previewing the website in the pull request. Click "Details" for the deploy/netlify check.
- A website moderator will review your your pull request and comment if any further changes are needed.
- Once confirmed by a moderator, your edits are merged with the main branch and go live on the website!
The website is made with Hugo and the Bootstrapious theme.
There may be cases in which you'd like to check how the website renders locally (on your own computer) before submitting a PR. The following instructions walk you through this process. You'll also need Hugo installed on your machine.
-
Clone the website repository:
git clone --recurse-submodules https://github.com/pdxrconf/pdxrconf.github.io.git cd pdxrconf.github.io.git
-
If you did not run
--recurse-submodules
when you cloned this repository, or have an old version of the site, you'll need to run the following code to incorporate submodules (see below for more information on using themes as submodules):cd themes/hugo-universal-theme git submodule init git submodule update
-
To start the hugo server to run the website locally, start from the top directory (
pdxrconf.github.io
) and run:hugo server -w
. After running this command, you should see a URL to your local computer appear in your shell. Paste this address into your web browser to view the site. The-w
in the code above means watch for changes; if you alter website content while your hugo server is running, you should be able to refresh the webpage to see your changes implemented.
The theme for this website is tracked as a git submodule, which means that this repo only tracks the info for how to clone the theme files from github, but not the files themselves.
By cloning this repo with --recurse-submodules
, the theme files should be cloned from their respective repository.
The Hugo Boostrapious theme is hosted on github. This repo (for our website) tracks the commit hash from the theme repo. To reset theme files to the commit specified in this repo:
cd themes/hugo-universal-theme
git submodule update
To update the theme to its most recent commit:
cd themes/hugo-universal-theme
git pull origin master