There are two ways to start your copy of the template from GitHub: generating or forking. They each have pros and cons:
Generate (recommended) | Fork | |
---|---|---|
Pros |
|
|
Cons |
|
|
Once you decide which approach to take, follow the appropriate setup steps below. We've tried to automate this setup for you as much as possible, within the limitations of GitHub!
{% tabs %} {% tab title="Generate" %}
- Generate a new repo from this template under your account with the button.
- Name your repo something like
your-lab-website
to avoid confusion with the template itself. - Set the repo to "Public" visibility.
- Uncheck "Include all branches".
- Name your repo something like
- In your repo's "⚙️ Settings", give GitHub Actions workflows read and write permissions, and allow them to create pull requests.
- In your repo's "
▶️ Actions", find the "first time setup" workflow and run it manually. Wait for it to complete (~30 seconds). - In your repo's "⚙️ Settings", set GitHub Pages to build/publish from the
gh-pages
branch. Wait for the first build of your site to complete (~3 minutes, multiple Actions workflows will run). - Your repo should be initialized and your site should be live! Check your readme for the link. {% endtab %}
{% tab title="Fork" %}
- Fork this repo under your account with the button.
- Name your repo something like
your-lab-website
to avoid confusion with the template itself. - Check "Copy the
main
branch only".
- Name your repo something like
- In your repo's "
▶️ Actions", acknowledge the warning and enable Actions workflows. - In your repo's "⚙️ Settings", give GitHub Actions workflows read and write permissions, and allow them to create pull requests.
- In your repo's "
▶️ Actions", find the "first time setup" workflow and run it manually. Wait for it to complete (~30 seconds). - In your repo's "⚙️ Settings", set GitHub Pages to build/publish from the
gh-pages
branch. Wait for the first build of your site to complete (~3 minutes, multiple Actions workflows will run). - Your repo should be initialized and your site should be live! Check your readme for the link.
- If you want to periodic citation updates, in your repo's "
▶️ Actions", find the "on schedule" workflow and enable it. {% endtab %} {% endtabs %}
{% hint style="info" %} A lot of the automation in this template relies on GitHub Actions, which sometimes (very rarely) goes down. Be aware of this in case a process in the template ever fails. {% endhint %}
{% hint style="info" %} GitHub frequently changes and rearranges its web interface, so you may notice slight discrepancies in the instructions above. We've tried to write the instructions more abstractly, linking to GitHub's official documentation for more details. {% endhint %}