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

Add devcontainer support #973

Open
wants to merge 6 commits into
base: dev
Choose a base branch
from

Conversation

weihongliang233
Copy link

@weihongliang233 weihongliang233 commented Mar 5, 2024

DevContainer support is provided, offering a ready-to-use virtual environment for beginners. It comes pre-installed with GHC, Agda, Emacs, and the Agda-VSCode extension (corresponding to the README version requirements).

It can be used in codespaces, and after testing, it takes approximately 10 minutes to complete all the environment setup work in a codespace instance with 2 cores and 8 GB of memory.

It can also be used locally. https://code.visualstudio.com/docs/devcontainers/containers

The main purpose of this PR is to eliminate the cumbersome process of setting up the environment. With just one click, readers can enter the virtualized container and start interacting with the code.

To verify, you can visit https://github.com/weihongliang233/plfa.github.io-fork/tree/devcontainer, press . key on the webpage and then it will prompt you to create a codespace.

@weihongliang233 weihongliang233 marked this pull request as ready for review March 7, 2024 08:08
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.

2 participants