Skip to content

Playground / Release tests - How to use

The following info was pulled from latest release v0.0.13.

How to use

NOTE: This is a FAKE release description

For more info on how this release was built, see README.

Start a new empty project folder

mkdir new-project
cd new-project
git init

Unpack a v0.0.13 template with Debian

# Using Tar
curl /.tar.gz | tar zx
# Or Zip
curl /.zip

Or a v0.0.13 template with Alpine

# Using Tar
curl /.tar.gz | tar zx
# Or Zip
curl /.zip

Commit (using a multi-line git commit message)

git add .
git commit -F- <<EOF
Initial commit using template v0.0.13

See here for more info on this template:
https://gitlab.com/geekstuff.it/templates/go/basic/-/releases/v0.0.13
EOF

Startup VSCode within WSL

code -n .

Start Devcontainer

  • Open project folder with VSCode
  • Install the recommended (required) extension
  • F1, Reopen in Container

How to update existing template (work in progress)

  • In your .devcontainer/Dockerfile, update the docker tag used in the FROM.
  • In VSCode, F1, search and run "Rebuild Container"
  • In your integrated terminal, within the decontainer, you have the new template packaged inside.
  • You can for example or even to open a new VSCode window, in that folder, in your containe.
  • A command is being tested to view the diff: make template.diff but as more templates variants come into play, not sure how this is going to look like yet.
  • It's all manual for now. Meant to be improved later.
Propose changes to this page