ClimateTown / knowledge-hub

Your one-stop shop in the fight against climate change, containing important climate resources you wish you knew about yesterday.
https://hub.climatetownproductions.com
Creative Commons Attribution 4.0 International
36 stars 26 forks source link

Add dev container #343

Closed VeckoTheGecko closed 11 months ago

VeckoTheGecko commented 1 year ago

Describe your changes

Adding devcontainers to streamline the installation of an isolated dev environment, that can also be used in GitHub codespaces.

Used this article to help with configuring postcreate/poststart commands.

Related issue number/link

Fixes #340

VeckoTheGecko commented 1 year ago

Thoughts @dmlb? I feel the readme might be getting a little out of hand, so let me know if you have any suggestions :)

VeckoTheGecko commented 1 year ago

Hmmm. Works locally, but not in codespaces.

Getting a Error code: 1302 (UnifiedContainersErrorFatalCreatingContainer) error. Maybe related: https://github.com/orgs/community/discussions/3766

Its not urgent to fix this since we don't have any remote developers (although I might set up later)

VeckoTheGecko commented 11 months ago

Done! 😵😵😵