https://github.com/alexslemonade/training-specific-template

Template repository that can be cloned to create repo for administering a specific training workshop

https://github.com/alexslemonade/training-specific-template

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.6%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

Template repository that can be cloned to create repo for administering a specific training workshop

Basic Info
Statistics
  • Stars: 0
  • Watchers: 7
  • Forks: 2
  • Open Issues: 0
  • Releases: 2
Created about 6 years ago · Last pushed about 1 year ago
Metadata Files
Readme License Code of conduct

README.md

training-specific-template

This repository is intended to serve as a template for creating a repository for an individual Data Lab workshop. The repository structure and use of GitHub Pages is intended to gather all material required to administer a workshop in one user-friendly place. We use a template repository approach for maintainability.

Please refer to CONTENTS.md for a brief overview of this repository's contents.

Creating a repository for an individual training workshop

First, you will need to create a new repository using the Use the template button. This will create a new repository with the same layout as this template repository under the user or organization you choose as the owner of the repository; if you are a Data Lab member running an internal training workshop, the AlexsLemonade organization should be the owner.

Turning on required settings

  1. Ensure you have the correct visibility setting for your GitHub account tier.

    • If you are using GitHub from a paid account tier (e.g., GitHub Pro, GitHub Team, or GitHub Enterprise), you can set the visibility of this repository as either public or private; the associated GitHub Pages website will still be public.
    • If you are using GitHub from a free account tier (e.g., GitHub Free for individuals or organizations), you must set the visibility of this repository as public for GitHub Pages to be active.
  2. Turn on workflow permissions for GitHub Actions.

    • There are several manually-triggered GitHub Actions provided to facilitate setting up this new repository.
    • You must turn on "Read and Write" permissions for GitHub Actions to use them:
      • Navigate to the repository's "Settings" tab at the top of the page.
        Actions tab
  * Navigate to the `Actions` -> `General` page from the sidebar
  <br><img src="./images/actions_general.png" alt="General actions settings" width="200"/><br>

  * Ensure [the following settings](https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#configuring-the-default-github_token-permissions) are turned on:
    <br>
    <img src="./images/workflow-permissions.png" alt="Workflow permissions settings to turn on" width="600"/>

Customizing the new repository for an individual training workshop

The first step of setting up up this repository is to run the manually-triggered GitHub Action "Manually trigger issue creation for standard set up" GitHub action. When triggered, this action will file a series of issues comprising tasks that should be completed before the start of a workshop.

Run this action as follows:

  • Navigate to the repository's "Actions" tab at the top of the page.
    Actions tab

  • On the upper left-hand side, you will see all available workflows.

  • Click the workflow named Manually trigger issue creation for standard set up, and then click the "Run workflow" dropdown button.

    • You will see a dropdown button "Use workflow from"; ensure this says the default branch main: Run workflow from main branch

To complete repository setup, address all issues filed by this workflow.

Local development

It can be helpful to build the GitHub Pages site locally to check that passing parameter values is working as expected.

Installing GitHub Pages dependencies locally

Installing the dependencies for GitHub Pages is best done in a separate ruby environment, managed by rbenv and Bundler

The following instructions were tested for installation on macOS, but installation on other systems should be similar.

  1. Install rbenv. The easiest, and recommended, installation is through Homebrew: ```

    install rbenv

    brew update brew install rbenv ruby-build `` Alternatively, you can install with [rbenv-installer`](https://github.com/rbenv/rbenv-installer#rbenv-installer) which will work even without Homebrew (though it uses Homebrew if you have it).

  2. Install rbenv for your shell. Since this will depend on which shell you are using, you will want to run rbenv init to find the correct command to add you your shell configuration file. Note that this command does not actually perform the initialization: it only prints instructions for what line to add to which file! Be sure to add that line to the end of the configuration file indicated.

  3. Once you have modified your shell configuration, start a new shell to initialize rbenv.

  4. Install a current stable ruby version ```

    install and set up v3.1.3 of Ruby

    rbenv install 3.1.3 && rbenv rehash ```

  5. Activate your ruby version. Here you have a few options:

a. If you want to set the global ruby version that will be used wherever you use ruby, you can use rbenv global 3.1.3

b. To only use this version of ruby within the repository only, navigate to the root of this repository and use: rbenv local 3.1.3 This will create a .ruby-version file that will automatically activate this version of ruby whenever you are in this directory.

  1. Now you should be ready to install Bundler: gem install bundler

  2. Finally, run bundle install from the root of this repository, where the Gemfile is located. This will install all additional dependencies.

Running a local jekyll server

Once all dependencies are installed, you should be able to start a local jekyll server with:

bundle exec jekyll serve

Owner

  • Name: Alex's Lemonade Stand Foundation
  • Login: AlexsLemonade
  • Kind: organization

Childhood Cancer Data Lab of ALSF

GitHub Events

Total
  • Issues event: 9
  • Delete event: 2
  • Issue comment event: 1
  • Push event: 8
  • Pull request review event: 6
  • Pull request review comment event: 4
  • Pull request event: 6
  • Create event: 3
Last Year
  • Issues event: 9
  • Delete event: 2
  • Issue comment event: 1
  • Push event: 8
  • Pull request review event: 6
  • Pull request review comment event: 4
  • Pull request event: 6
  • Create event: 3

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 50
  • Total pull requests: 50
  • Average time to close issues: 2 months
  • Average time to close pull requests: 5 days
  • Total issue authors: 4
  • Total pull request authors: 4
  • Average comments per issue: 1.16
  • Average comments per pull request: 1.08
  • Merged pull requests: 50
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 5
  • Pull requests: 5
  • Average time to close issues: 3 days
  • Average time to close pull requests: 3 days
  • Issue authors: 1
  • Pull request authors: 1
  • Average comments per issue: 0.2
  • Average comments per pull request: 0.4
  • Merged pull requests: 5
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • sjspielman (41)
  • jashapiro (5)
  • jaclyn-taroni (2)
  • Jen-OMalley (2)
Pull Request Authors
  • sjspielman (43)
  • jashapiro (4)
  • Jen-OMalley (2)
  • jaclyn-taroni (1)
Top Labels
Issue Labels
Epic (1)
Pull Request Labels

Dependencies

Gemfile rubygems
  • github-pages >= 0 development
.github/workflows/file-setup-issues.yml actions
  • actions/checkout v3 composite
  • peter-evans/create-issue-from-file v4.0.0 composite
.github/workflows/copy-completed-notebooks.yml actions
  • actions/checkout v3 composite
  • peter-evans/create-pull-request v5 composite
.github/workflows/spell-check.yml actions
  • actions/checkout v3 composite
  • actions/upload-artifact v3 composite