You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run ./apply-tmpl.sh <tmpl to use> <target repo to apply to> from the root of the repo
cd to the target repo
[optional] if use devcontainer, build docker image for dev first ./docker/build.sh dev
open the target repo in vscode
[optional] build docker image for other like test, deploy, etc., eg. ./docker/build.sh deploy
Notes
The apply-tmpl.sh script will overwrite any files in the target repo that are in the template
Use .ps1 instead of .sh for Windows
docker build use dirname of repo as image name in default, you can override it by setting ImageName env variable, eg. ImageName=my-image-name ./docker/build.sh dev
Templates
cpp - cpp app template, include dev, deploy
maven - java app using maven template, include dev, deploy
next - nextjs app template, include dev, deploy(ssr or static)