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
Devcontainers use a Docker container as a full-featured development environment, making it super simple to get started with Idris2. For more information, check out [Microsoft's documentation](https://code.visualstudio.com/docs/remote/containers).
41
-
42
-
If you want to try out a quick ready-to-use project, take a look at [calebji123/WordleInIdris](https://github.com/calebji123/WordleInIdris). The devcontainer files there are set up and it's super fun to play around with!
43
-
44
-
### Prerequisites
45
-
46
-
* A working instance of [Docker](https://docs.docker.com/get-docker/)
47
-
*[VSCode](https://code.visualstudio.com/download)
48
-
*[Remote Development Extension Pack](https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.vscode-remote-extensionpack) for VSCode
49
-
50
-
### Opening in a Devcontainer
38
+
An example Hello World project taken from the [Getting Started Guide](https://idris2.readthedocs.io/en/latest/tutorial/starting.html) can be found in [example](./example). It uses Idris 0.7.0. To start, clone this repo and open the example folder (not the root!) in VSCode.
Once you clone the repo, open the folder in VSCode. There will be a prompt on the bottom right.
57
-
58
-

59
-
60
-
Click "Reopen in Container" and it will download the image and open the project in a devcontainer. You'll be able to [run the project right away](https://github.com/calebji123/WordleInIdris#how-to-run-it)!
This is a simple hello-world example using Idris 0.7, taken from the [Getting Started Guide](https://idris2.readthedocs.io/en/latest/tutorial/starting.html).
4
+
5
+
To start, open the example folder in vscode and run `Reopen in Container` from the command palette.
6
+
7
+
Once the container is running, you can play with Idris2!
0 commit comments