diff --git a/.devcontainer.json b/.devcontainer.json new file mode 100644 index 0000000..60402ac --- /dev/null +++ b/.devcontainer.json @@ -0,0 +1,5 @@ +{ + "dockerFile": "Dockerfile", + "remoteUser": "root", + "postCreateCommand": "./main.sh" +} \ No newline at end of file diff --git a/.gitpod.yml b/.gitpod.yml index ae5b73d..102b61c 100644 --- a/.gitpod.yml +++ b/.gitpod.yml @@ -1,3 +1,4 @@ +image: Dockerfile tasks: - name: Setup environment variables command: | diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..65de703 --- /dev/null +++ b/Dockerfile @@ -0,0 +1 @@ +FROM gitpod/workspace-full diff --git a/README.md b/README.md index 077c2eb..16f7e47 100644 --- a/README.md +++ b/README.md @@ -13,9 +13,23 @@ Open Cloud Dev Box is a project that makes learning cloud faster, easier and saf ## Getting Started -- [Open in Gitpod](https://gitpod.io/#github.com/openupthecloud/open-cloud-dev-box) -- Open in Codespaces (coming soon) -- Open locally (coming soon) +## Getting Started + +### With Gitpod + +1. Create Gitpod account. +2. [Open in Gitpod](https://gitpod.io/#github.com/openupthecloud/open-cloud-dev-box) (Or click: [gitpod.io/#https://github.com/openupthecloud/open-cloud-dev-box](https://github.com/openupthecloud/open-cloud-dev-box)) +3. Type `aws` (or any other supported CLI or tool) into the terminal to verify + +### With Codespaces + +1. Create a GitHub account +2. Go to: github.com/codespaces and start a new Codespace based on the project +3. Type `aws` (or any other supported CLI or tool) into the terminal to verify + +### Locally + +Coming soon! ## Compatibilities diff --git a/install-kubectl.sh b/install-kubectl.sh old mode 100644 new mode 100755 diff --git a/install-terraform.sh b/install-terraform.sh old mode 100644 new mode 100755 diff --git a/install-vsextensions.sh b/install-vsextensions.sh old mode 100644 new mode 100755 diff --git a/main.sh b/main.sh old mode 100755 new mode 100644 index 2f8a6ed..4927be2 --- a/main.sh +++ b/main.sh @@ -1,9 +1,14 @@ #!/bin/bash -source ./setup-env-variables.sh +./install-terraform.sh ./install-aws-cli.sh +./install-kubectl.sh +./install-terraform.sh +./install-kubectl.sh +./install-vsextensions.sh +./setup-env-variables.sh ./collect-credentials.sh ./open-cloud-dashboards.sh source ./install-kubectl.sh source ./install-terraform.sh -source ./install-dynamodb-local.sh \ No newline at end of file +source ./install-dynamodb-local.sh