Giter Site home page Giter Site logo

gnomad-project-template's Introduction

gnomAD project template

Cookiecutter template for gnomAD projects.

This template sets up a Python project with:

Getting started

  • Install cookiecutter.

  • Generate the project directory. Enter a project name when prompted.

    cookiecutter gh:broadinstitute/gnomad-project-template
    

GitHub repository settings

To make full use of the GitHub Actions workflows defined in the template, configure these settings in the project's GitHub repository.

  • Create a branch protection rule for the main branch.

    • Require pull requests.
    • Enable required status checks. Require the Checks and Build documentation status checks.
  • On each commit to the main branch, documentation is automatically built and pushed to the gh-pages branch. To make the documentation available through GitHub Pages, configure GitHub Pages to publish from the root of the gh-pages branch. Note that GitHub Pages websites are always public, even if the repository is private.

gnomad-project-template's People

Contributors

nawatts avatar

Stargazers

 avatar Masahiro Kanai avatar Mark Baker avatar Rachael Ivison avatar

Watchers

James Cloos avatar  avatar Matthew Solomonson avatar  avatar William Phu avatar Joshua Nadeau avatar Katherine Chao avatar  avatar Yu Chen avatar  avatar

gnomad-project-template's Issues

Fails when attempting to clone https://github.com/broadinstitute/gnomad-project-template.git

It's trying to use password-based auth with github and failing due to "Support for password authentication was removed on August 13, 2021. Please use a personal access token instead."

wm103-772:~/code $ cookiecutter gh:broadinstitute/gnomad-project-template
Username for 'https://github.com': bw2
Password for 'https://[email protected]':
Traceback (most recent call last):
  File "/usr/local/Cellar/[email protected]/3.7.10_3/Frameworks/Python.framework/Versions/3.7/bin/cookiecutter", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 829, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python3.7/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python3.7/site-packages/cookiecutter/cli.py", line 152, in main
    skip_if_file_exists=skip_if_file_exists,
  File "/usr/local/lib/python3.7/site-packages/cookiecutter/main.py", line 74, in cookiecutter
    directory=directory,
  File "/usr/local/lib/python3.7/site-packages/cookiecutter/repository.py", line 114, in determine_repo_dir
    no_input=no_input,
  File "/usr/local/lib/python3.7/site-packages/cookiecutter/vcs.py", line 104, in clone
    stderr=subprocess.STDOUT,
  File "/usr/local/Cellar/[email protected]/3.7.10_3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/subprocess.py", line 411, in check_output
    **kwargs).stdout
  File "/usr/local/Cellar/[email protected]/3.7.10_3/Frameworks/Python.framework/Versions/3.7/lib/python3.7/subprocess.py", line 512, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['git', 'clone', 'https://github.com/broadinstitute/gnomad-project-template.git']' returned non-zero exit status 128.

wm103-772:~/code $ git clone https://github.com/broadinstitute/gnomad-project-template.git
Cloning into 'gnomad-project-template'...
Username for 'https://github.com': bw2
Password for 'https://[email protected]':
remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.
fatal: Authentication failed for 'https://github.com/broadinstitute/gnomad-project-template.git/'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.