-
Notifications
You must be signed in to change notification settings - Fork 8
Add dev container setup #1280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add dev container setup #1280
Conversation
Deploying opensafely-docs with
|
Latest commit: |
121c0ca
|
Status: | ✅ Deploy successful! |
Preview URL: | https://5580641e.opensafely-docs.pages.dev |
Branch Preview URL: | https://steve-devcontainer.opensafely-docs.pages.dev |
ca844c8
to
8c54f96
Compare
bf89e6a
to
2a4ec64
Compare
2a4ec64
to
c97960d
Compare
0a7fbd0
to
32bcaee
Compare
Old discussion; either something with my browser, computer or Codespaces changed, because this problem's now gone.
|
739a40c
to
ea934df
Compare
ea934df
to
0b1bd35
Compare
c84df35
to
a0b3557
Compare
7da74b3
to
a0b3557
Compare
It works fine now. |
e639294
to
2ab383d
Compare
616b390
to
d4a6cd5
Compare
d4a6cd5
to
1bf51e1
Compare
For editing the site using a dev container locally, or in Codespaces online. The `deadsnakes` configuration is taken from the `research-template-docker` repository: https://github.com/opensafely-core/research-template-docker/blob/669a76d79c198925d788dedc34fe3c5a831872b5/Dockerfile#L20-L21 which avoids installing `software-properties-common` first (to get the `add-apt-repository` command. The dev container settings are based on the Bennett site configuration, with a longer autosave delay, because the site currently takes a while to build (#1397). Arguably, the save delay could be longer still. No Markdown plugins are installed yet; maybe that's something we could do in future.
25642d2
to
adbe226
Compare
29cbefd
to
06306dc
Compare
This occurs when attempting to use `just run`.
06306dc
to
4fd4cc0
Compare
This is minimally documented for now. We could add more comprehensive guidance on editing content using Codespaces in future.
4fd4cc0
to
121c0ca
Compare
Fixes #1047.
This allows someone to work on the docs via Codespaces or in VSCode using the dev containers feature.