Skip to content

Files

Latest commit

 

History

History
25 lines (18 loc) · 2.03 KB

README.md

File metadata and controls

25 lines (18 loc) · 2.03 KB

pre-commit Copier Actions status Open in Dev Containers

Usage

To create a new repository using this template:

  1. Create a basic devcontainer either using the Codespaces default or using the file .devcontainer/devcontainer-to-instantiate-template.json from the base template repo
  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
  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-nuxt-python-intranet-app.git .
  5. Run uv lock to generate the lock file
  6. Run python3 .github/workflows/hash_git_files.py . --for-devcontainer-config-update to update the hash for your devcontainer file
  7. Commit the changes (optional)
  8. Rebuild your new devcontainer

Development

Updating from the template

This repository uses a copier template. To pull in the latest updates from the template, use the command: copier update --trust --conflict rej --defaults