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 support for CodeSpaces #259

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

Conversation

mattvv
Copy link

@mattvv mattvv commented Feb 1, 2021

This adds a devcontainer that has elixir pre-installed so you can do the koans without having to install elixir. Selfishly useful for doing some koans while I'm playing games on my windows PC :)

To use this, you can simply clone the repo using codespaces and the terminal will automatically appear and you can get started by doing

mix deps.get

and then

mix meditate

Copy link
Collaborator

@iamvery iamvery left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't used CodeSpaces myself, but I don't see any issue with this. Anyone else?

@Nezteb
Copy link

Nezteb commented Apr 9, 2022

@iamvery Works on my machine! (well, GitHub's machine but you get the idea 😂)

Screen Shot 2022-04-09 at 5 09 47 PM

@iamvery
Copy link
Collaborator

iamvery commented Apr 11, 2022

@Nezteb thank you for confirming. @ukutaht @felipesere either of you have thoughts?

@ukutaht
Copy link
Collaborator

ukutaht commented Apr 11, 2022

Strongly in favour. For people starting out with Elixir this is probably the best way.

Before merging, does CodeSpaces have a convenient way to launch it with a link? Would be nice to promote this with a Run in CodeSpaces button in the README. Otherwise, maybe add instructions on how to use this in the README?

@Nezteb
Copy link

Nezteb commented Apr 11, 2022

@ukutaht There is a way in the GitHub UI to do this relatively easily: https://docs.github.com/en/codespaces/developing-in-codespaces/creating-a-codespace#creating-a-codespace

Aside from that there is also the github.dev editor (which can be accessed by pressing the period key . on your keyboard when on a repo's page). https://docs.github.com/en/enterprise-cloud@latest/codespaces/the-githubdev-web-based-editor#opening-the-web-based-editor

As far as I can tell there is no easy way to create a Codespaces link that auto-creates one for people (similar to how Codesandbox does it).

@CompuIves
Copy link

Swooping in! (I heard CodeSandbox 😂)

In the future, CodeSandbox should be able to run Elixir as well. At CodeSandbox we're currently experimenting with this (our backend is in Elixir/Phoenix), by allowing you to configure the Elixir version in CodeSandbox Projects.

Not much to add, just wanted to say that we might support Elixir in the future! 😄

@Nezteb
Copy link

Nezteb commented Apr 14, 2022

(our backend is in Elixir/Phoenix)

howdidinotknowthat

@iamvery
Copy link
Collaborator

iamvery commented Jul 14, 2024

What's the status on this?

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.

5 participants