Skip to content
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

GoEX DevContainer for GitHub Codespaces #351

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

cedricvidal
Copy link
Contributor

@cedricvidal cedricvidal commented Apr 12, 2024

This PR adds support for a GitHub Codespaces Dev Container for the goex sub-project:

  • Designed to allow adding Codespaces configurations for other sub projects
  • Dev Container config GoEX with mkcert and sqlite3
  • Also installs direnv with shell hooks to allow automatically activating the venv when opening a shell in the goex sub-folder.
  • Adds Open in GitHub Codespaces badge to README.md pre-configured with GoEX config
  • Adds documentation to README.md
  • post-create script creates env using the python venv module and points direnv at it
  • The venv is created as per the GoEX documentation
  • Installs requirements and builds goex

Note: The Dev Container configuration can also be used locally in VS Code in addition to remotely in GitHub Codespaces.

- Dev Container config `GoEX` with mkcert, sqlite3 and direnv with shell hooks
- Adds `Open in GitHub Codespaces` badge to README.md pre-configured with `GoEX` config
- post-create script creates env using the python venv module and points direnv at it
- As opposed to delegating creation to direnv, which for some reason doesn't work as expected
- Installs requirements and builds goex
ShishirPatil added a commit that referenced this pull request May 8, 2024
This PR adds support for a GitHub Codespaces Dev Container for the
`raft` sub-project:
    - Dev Container config `RAFT` with direnv with shell hooks
- Adds `Open in GitHub Codespaces` badge to README.md pre-configured
with `RAFT` config
- post-create script creates env using the python venv module and points
direnv at it
    - Upgrades pip and installs requirements

Note: The Dev Container configuration can also be used locally in VS
Code in addition to remotely in GitHub Codespaces.

This PR is similar to #351 but targets the `raft` sub project.

Co-authored-by: Shishir Patil <30296397+ShishirPatil@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant