You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(devcontainers): pin ruby dev container to debian bookworm (#5392)
See devcontainers/features#1431
See devcontainers/features#1479
We should be able to proceed to debian trixie once the preceding PR is merged.
Sundry extras:
* the rvm-based install of Ruby wasn't sufficient for our subsequent rbenv-based usage of Ruby
* use a 3.4 ruby image
* remove port 3000 from forwarded ports per rails/devcontainer#83 (comment) (and that seemed to help)
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+9-6Lines changed: 9 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -134,19 +134,22 @@ You might also want to try VSCode with [this WSL extension](https://marketplace.
134
134
```
135
135
</details>
136
136
137
-
## Codespaces and Dev Container - EXPERIMENTAL 🛠️
137
+
## One-click in-the-cloud env via Codespaces and Dev Container - EXPERIMENTAL 🛠️
138
138
139
-
[](https://codespaces.new/rubyforgood/human-essentials/tree/main?quickstart=1)
140
-
141
-
[](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/rubyforgood/human-essentials)
139
+
[](https://codespaces.new/rubyforgood/human-essentials/tree/fix-devcontainers?quickstart=1)
142
140
143
141
1. Create the container:
144
142
- To run the container on a Github VM, follow the Codespace link above. You can connect to the Codespace using VSCode or the VSCode web editor.
145
143
- Or follow instructions to [create a new Codespace.](https://docs.github.com/en/codespaces/developing-in-a-codespace/creating-a-codespace-for-a-repository)
146
144
- To clone this repo and run the container locally, follow instructions to [install VSCode and Docker](https://code.visualstudio.com/docs/devcontainers/containers). Click the Dev Container link above. Don't forget to add a git remote pointing to your fork once the container is setup and you want to push changes.
147
145
2. Wait for the container to start. This will take a few (10-15) minutes since Ruby needs to be installed, the database needs to be created, and the `bin/setup` script needs to run
148
-
3. Run `bin/start`. On the Ports tab, visit the forwarded port 3000 URL marked as Application to see the human essentials page.
149
-
4. Login as a sample user with the default [credentials](#credentials).
146
+
3. Run `bin/start`.
147
+
4. On the Ports tab, visit the forwarded port 3000 URL marked as Application to see the human essentials page.
148
+
5. Login as a sample user with the default [credentials](#credentials).
149
+
150
+
### Further experimental option—local dev container
151
+
152
+
[](https://vscode.dev/redirect?url=vscode://ms-vscode-remote.remote-containers/cloneInVolume?url=https://github.com/rubyforgood/human-essentials)
0 commit comments