DEV Community

Cover image for Setting Up Your Base Workspace for Seamless Development 🧑‍💻
Tsiry Sandratraina
Tsiry Sandratraina

Posted on

Setting Up Your Base Workspace for Seamless Development 🧑‍💻

Welcome to the base workspace – a versatile foundation for all your projects! This environment comes equipped with a portable Docker setup, including pre-configured VSCode tunnels, all orchestrated through Terraform.

🚀 Usage

Clone the base-workspace repo :

git clone https://github.com/tsirysndr/base-workspace
cd base-workspace
Enter fullscreen mode Exit fullscreen mode

Initialize Terraform:

terraform init
Enter fullscreen mode Exit fullscreen mode

Apply the configuration:

terraform apply
Enter fullscreen mode Exit fullscreen mode

This will create a Docker container named base-workspace with essential tools like pkgx, oh-my-posh, atuin, and the VSCode server pre-installed.

To connect to your environment, run:

docker logs base-workspace
Enter fullscreen mode Exit fullscreen mode

Follow the provided VSCode tunnel instructions, and you're ready to roll!

You can also enter the environment directly using:

docker exec -it base-workspace bash
Enter fullscreen mode Exit fullscreen mode

✨ Bonus

The environment comes pre-configured with oh-my-posh and atuin for an enhanced development experience.

🐚 Environments

Name Description
devbox devbox environment with vscode tunnels configured.
devenv devenv environment with vscode tunnels configured.
flox flox environment with vscode tunnels configured.
homebrew homebrew environment with vscode tunnels configured.
nix nix environment with vscode tunnels configured.
pkgx pkgx environment with vscode tunnels configured.
default Base environment with VSCode tunnels configured

Enhance your development workflow with this robust base workspace – tailored for efficiency and ease of use. Happy coding! 🚀

Top comments (0)