Skip to content

LabAutomationAndScreening/copier-base-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

pre-commit Ruff uv Checked with pyright Actions status Open in Dev Containers

Instantiating a new repository using this template

  1. Use the file .devcontainer/devcontainer-to-instantiate-template.json to create a devcontainer (or just use the default Codespace devcontainer)
  2. Inside that devcontainer, run python .devcontainer/install-ci-tooling.py to install necessary tooling to instantiate the template (you can copy/paste the script from this repo...and you can paste it in the root of the repo if you want)
  3. Delete all files currently in the repository. Optional...but makes it easiest to avoid git conflicts.
  4. Run copier to instantiate the template: copier copy --trust gh:LabAutomationAndScreening/copier-base-template.git .
  5. Run python .devcontainer/manual-setup-deps.py --optionally-check-lock to generate the lock file(s)
  6. Stage all files to prepare for commit (git add .)
  7. Run python3 .github/workflows/hash_git_files.py . --for-devcontainer-config-update to update the hash for your devcontainer file
  8. Commit the changes (optional)
  9. Rebuild your new devcontainer

If you are running into issues with the SSH port, confirm the randomly chosen port is not in the excluded ranges on your computer. On Windows you can run this in an elevated command prompt to check netsh interface ipv4 show excludedportrange protocol=tcp

About

A copier template used to create other copier templates

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •