Skip to content

Commit

Permalink
docs(contributing): Add devcontainer/cli as alternative method (#6343)
Browse files Browse the repository at this point in the history
  • Loading branch information
octet-stream committed May 20, 2024
1 parent a6a8525 commit 0380331
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,12 @@ If you want to use Docker:
- Install the [Dev Containers](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers) extension in your VSCode.
- Once installed you will be prompted to 'Reopen the folder to develop in a container [learn more](https://code.visualstudio.com/docs/devcontainers/containers) or Clone repository in Docker volume for [better I/O performance](https://code.visualstudio.com/docs/devcontainers/containers#_quick-start-open-a-git-repository-or-github-pr-in-an-isolated-container-volume)'. If you're not prompted, you can run the `Dev Containers: Open Folder in Container` command from the [VSCode Command Palette](https://code.visualstudio.com/docs/getstarted/userinterface#_command-palette).

Alternatively you can use [devcontainers/cli](https://github.com/devcontainers/cli):

- Install devcontainers following their documentation.
- In your terminal navigate to the Qwik's project root directory.
- Then run `devcontainer up --workspace-folder .`. This command will start a Docker container with all required environment dependencies.

If you want to use Nix:

- Install [Nix](https://nixos.org/download.html) on your machine and enable flakes. The [DetSys installer](https://github.com/DeterminateSystems/nix-installer) makes that easy.
Expand Down

0 comments on commit 0380331

Please sign in to comment.