Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mcguinlu/ukrn-workshop
https://github.com/mcguinlu/ukrn-workshop
open-data ukrn-open-research ukrn-workshop
Last synced: 27 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/mcguinlu/ukrn-workshop
- Owner: mcguinlu
- License: other
- Created: 2021-03-24T10:21:21.000Z (almost 4 years ago)
- Default Branch: gh-pages
- Last Pushed: 2021-03-24T10:22:20.000Z (almost 4 years ago)
- Last Synced: 2024-10-28T04:59:01.660Z (3 months ago)
- Topics: open-data, ukrn-open-research, ukrn-workshop
- Language: Python
- Size: 2.99 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
- Citation: CITATION
- Authors: AUTHORS
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.com/carpentries/workshop-template.svg?branch=gh-pages)](https://travis-ci.com/carpentries/workshop-template)
# The UKRN Open Research Workshop Template
This repository is The [UKRN](https://ukrn.org/) template for creating websites for Open Research Training workshops.
The easiest way to use this repository is to use the [UKRN Workshop Builder](/404.html).
The Workshop Builder will walk you through constructing a workshop, allowing you to select and customise the lessons you include.
At the end, you will have a website you can use to deliver the workshop to your participants.
If you choose this approach, you can **ignore the rest of this README**.
If you want to make custom changes later, you can always come back and read the information on [customising your workshop](#customizing-your-website).You can use this template to build an entirely customised workshop manually.
To do so, **please _do not fork this repository directly on GitHub._**
Instead, please use GitHub's "template" function following [the instructions below](#creating-a-repository) to copy this `workshop-template` repository and customize it for your workshop.If you run into problems,
or have ideas about how to make this process simpler,
please [get in touch](#getting-and-giving-help).
The pages [design notes][design] have more detail on what we do and why.## Creating a Repository
1. Log in to GitHub.
(If you do not have an account, you can quickly create one for free.)
You must be logged in for the remaining steps to work.2. On this page (),
click on the green "Use this template" button (top right)![the 'use this template' button on GitHub](fig/select-github-use-template.png?raw=true)
3. Select the owner for your new repository.
(This will probably be you, but may instead be an organization you belong to.)4. Choose a name for your workshop website repository.
5. Make sure the repository is public, leave "Include all branches" unchecked, and click
on "Create repository from template".
You will be redirected to your new copy of the workshop template repository.6. Your new website will be rendered at `https://your_username.github.io/repository-name`.
For example, if your username is `gvwilson` and the name you chose in step 4 was `my-university-open-code`, the website's URL will be
`https://gvwilson.github.io/my-university-open-code`.7. When you're editing things, work in the `gh-pages` branch, because this is [automatically published as a website by GitHub][github-project-pages].
If you experience a problem, please [get in touch](#getting-and-giving-help).
## Customizing Your Website
There are two ways of customizing your website. You can either:
- edit the files directly in GitHub using your web browser
- clone the repository on your computer and update the files locally### Updating the files on GitHub in your web browser
1. Go into your newly-created repository,
which will be at `https://github.com/your_username/repository-name`.
For example,
if your username is `gvwilson` and the name you chose in step 4 was `my-university-open-code`, the website's URL will be
`https://gvwilson.github.io/my-university-open-code`.3. Ensure you are on the gh-pages branch by clicking on the branch under the drop
down in the menu bar (see the note below):![](fig/select-gh-pages-branch.png?raw=true)
3. Edit the header of `index.md` to customize the list of instructors,
workshop venue, etc.
You can do this in the browser by clicking on it in the file view on GitHub
and then selecting the pencil icon in the menu bar:![](fig/edit-index-file-menu-bar.png?raw=true)
Editing hints are embedded in `index.md`,
and full instructions are in [the customization instructions][customization].4. Remove the notice about using the workshop template in the `index.md` file. You can safely
delete everything between the `{% comment %}` and `{% endcomment %}` (included) as indicated
below (about from line 35 to line 51):```jekyll
{% comment %} <------------ remove from this line
8< ============= For a workshop delete from here =============
For a workshop please delete the following block until the next dashed-line
{% endcomment %}
....
{% comment %}
8< ============================= until here ==================
{% endcomment %} <--------- until this line
```4. Edit `_config.yml` to customize certain site-wide variables, such as: `carpentry` (to tell your
participants the lesson program for your workshop), `curriculum` and `flavor` for the
curriculum taught in your workshop, and `title` (overall title for all pages).Editing hints are embedded in `_config.yml`,
and full instructions are in [the customization instructions][customization].5. Edit the `schedule.html` file to edit the schedule for your upcoming workshop. This file is
located in the `_includes` directory, make sure to choose the one from the appropriate `dc` (Data
Carpentry workshop), `lc` (Library Carpentry), or `swc` (Software Carpentry) subdirectory.### Working locally
> Note: you don't have to do this, if you have already updated your site using the web interface.
If you are already familiar with Git, you can clone the repository to your desktop, edit `index.md`,
`_config.yml`, and `schedule.html` following the instruction above there, and push your changes back to the repository.```shell
git clone https://github.com/your_username/YYYY-MM-DD-site
```In order to view your changes once you are done editing, if you have bundler installed (see the
[installation instructions below](#installing-software)), you can preview your site locally with:```shell
make serve
```
and go to to preview your site.Before pushing your changes to your repository, we recommend that you also check for any potential
issues with your site by running:```shell
make workshop-check
```Once you are satisfied with the edits to your site, commit and push the changes to your repository.
A few minutes later, you can go to the GitHub Pages URL for your workshop site and preview it. In the example above, this is `https://gvwilson.github.io/2016-12-01-miskatonic`. The finished
page should look [something like this](fig/completed-page.png?raw=true).## Update your repository description and link your website
At the top of your repository on GitHub you'll see
~~~
No description, website, or topics provided. — Edit
~~~Click 'Edit' and add:
1. A very brief description of your workshop in the "Description" box (e.g., "Miskatonic University workshop, Dec. 2016")
2. The URL for your workshop in the "Website" box (e.g., `https://gvwilson.github.io/2016-12-01-miskatonic`)
This will help people find your website if they come to your repository's home page.
## Update the content of the README file
You can change the `README.md` file in your website's repository, which contains these instructions,
so that it contains a short description of your workshop and a link to the workshop website.## Additional Notes
**Note:**
please do all of your work in your repository's `gh-pages` branch,
since [GitHub automatically publishes that as a website][github-project-pages].**Note:**
this template includes some files and directories that most workshops do not need,
but which provide a standard place to put extra content if desired.
See the [design notes][design] for more information about these.## Creating Extra Pages
You may want to add extra pages to your workshop website.
You can do this by putting either Markdown or HTML pages in the website's root directory
and styling them according to the instructions give in
[the lesson template][lesson-example].## Installing Software
If you want to set up Jekyll so that you can preview changes on your own machine before pushing them
to GitHub, you must install the software described in the lesson example [setup
instructions](https://carpentries.github.io/lesson-example/setup.html#jekyll-setup-for-lesson-development).## Getting and Giving Help
We are committed to offering a pleasant setup experience for our learners and organizers.
If you find bugs in our instructions, or would like to suggest improvements,
please [file an issue][issues]
or [mail us][email].[email]: mailto:[email protected]
[customization]: https://UKRN-Open-Research.github.io/workshop-template/customization/index.html
[dc-site]: https://datacarpentry.org
[design]: https://UKRN-Open-Research.github.io/workshop-template/design/index.html
[faq]: https://UKRN-Open-Research.github.io/workshop-template/faq/index.html
[github-project-pages]: https://help.github.com/en/github/working-with-github-pages/creating-a-github-pages-site
[issues]: https://github.com/UKRN-Open-Research/workshop-template/issues
[lesson-example]: https://UKRN-Open-Research.github.io/lesson-example/
[swc-site]: https://software-carpentry.org
[lc-site]: https://librarycarpentry.org## Acknowledgements
This repository is adapted from The Carpentries' ([Software Carpentry][swc-site], [Data Carpentry][dc-site], and
[Library Carpentry][lc-site]'s) template for creating websites for workshops.
The Carpentries offer effective, focused workshops on practical research skills.