To create a new repository using this template:
- Create a basic devcontainer either using the Codespaces default or using the file
.devcontainer/devcontainer-to-instantiate-template.jsonfrom the base template repo - Inside that devcontainer, run
python .devcontainer/install-ci-tooling.pyto 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) - Delete all files currently in the repository. Optional...but makes it easiest to avoid git conflicts.
- Run copier to instantiate the template:
copier copy --trust gh:LabAutomationAndScreening/copier-nuxt-python-intranet-app.git . - Run
SKIP_PLAYWRIGHT_INSTALL=1 python .devcontainer/manual-setup-deps.py --only-create-lock --allow-uv-to-install-python --skip-updating-devcontainer-hashto generate the lock file(s) - Stage all files to prepare for commit (
git add .) - Run
python3 .github/workflows/hash_git_files.py . --for-devcontainer-config-updateto update the hash for your devcontainer file - Commit the changes (optional)
- Rebuild your new devcontainer
Multi-step workflows are defined as Task tasks. Run task --list to see them; the definitions live in .config/taskfiles/, and Taskfile.yaml in the repo root is only a shim that includes them.
- Confirm by viewing the source of a non-altered GraphiQL page that the bundled files are the ones to download
- Run
task fetch-graphiql-assets, which downloads all seven vendor files at their pinned versions into the bundledgraphiqldirectory. Bump a version in.config/taskfiles/graphiql.yaml, where each one is declared exactly once.
This repository uses a copier template. To pull in the latest updates from the template, run task copier-update