Last active
November 26, 2022 18:40
-
-
Save vfarcic/da76d7f3767c244392f9278e815f7c20 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Source: https://gist.github.com/da76d7f3767c244392f9278e815f7c20 | |
################################################################# | |
# Instant Cloud Development Environments With GitHub Codespaces # | |
# https://youtu.be/tSQJwGcHsGY # | |
################################################################# | |
# Additional Info: | |
# - Codespaces: https://github.com/features/codespaces | |
# - GitHub CLI - How to manage repositories more efficiently: https://youtu.be/BII6ZY2Rnlc | |
# - Gitpod - Instant Development Environment Setup: https://youtu.be/QV1fYt-7SLU | |
# - Okteto - How To Create Instant Development Environments In Kubernetes: https://youtu.be/yjgHHUT-5-s | |
######### | |
# Setup # | |
######### | |
# Enable Codespaces for your organization. | |
# Replace `[...]` with the GitHub organization or a GitHub user if it is a personal account | |
export GITHUB_ORG=[...] | |
# Watch https://youtu.be/BII6ZY2Rnlc if you are not familiar with GitHub CLI | |
gh repo fork $GITHUB_ORG/codespaces-demo \ | |
--clone | |
########################################################### | |
# Instant Development Environments With GitHub Codespaces # | |
########################################################### | |
gh repo view \ | |
$GITHUB_ORG/codespaces-demo --web | |
go run main.go | |
# ctrl+c | |
# Edit main.go | |
go run main.go | |
# ctrl+c | |
git status | |
# Open https://docs.github.com/en/codespaces/customizing-your-codespace/personalizing-codespaces-for-your-account#settings-sync | |
# Open https://docs.github.com/en/codespaces/customizing-your-codespace/personalizing-codespaces-for-your-account#dotfiles | |
# Open https://docs.github.com/en/codespaces/managing-your-codespaces/managing-encrypted-secrets-for-your-codespaces | |
# Open https://docs.github.com/en/billing/managing-billing-for-github-codespaces/about-billing-for-codespaces#codespaces-pricing |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment