Skip to content

Developing in a Dev Container

This project provides partial support for developing in a dev container. We are still working on this feature, but once it is ready, it should make the onboarding process much easier. At that point, it would be the recommended way to develop this project.

Why use a dev container?

The main reason to use a dev container is to make the onboarding process as easy as possible. With a dev container, you can get started with this project with just a few clicks. You don't need to install any dependencies on your machine, and you don't need to worry about setting up your environment. Everything is already set up for you.

Getting started

Prerequisites

INFO

For now, you must change "file sharing implementation" from VirtioFS to gRPC fuse in the Docker settings. See oven-sh/bun#4923 for more details.

INFO

For now, you must rebuild the container using PDev Containers: Rebuild Container after building the container the first time. See #55 for details; PRs welcome.

Setup

  1. Clone the repository
sh
$ gh repo clone agnyz/the-bed-stack
$ cd the-bed-stack
$ gh repo clone agnyz/the-bed-stack
$ cd the-bed-stack
  1. Open the project in a dev container

    1. Open the command palette (Cmd+Shift+P on macOS, Ctrl+Shift+P on Windows/Linux) and select Remote-Containers: Open Folder in Container....
    2. Select the project folder.
    3. Wait for the container to build and open the project in a new window.
  2. 🎉 You're ready to go!

What's Next?