human-essentials icon indicating copy to clipboard operation
human-essentials copied to clipboard

Can we make getting started faster and easier via Github Codespaces?

Open scooter-dangle opened this issue 3 years ago • 10 comments

Before filing the ticket you should replace all text between the horizontal rules with your own words. We recommend keeping the headings (optional headings can be left off if you don't need them)


Summary

Describe an overview of the problem. Provide a general description of the problem it's solving or why this issue should be addressed.

Things to Consider

Check in the general channel of the R4G slack to see if other projects have evaluated / setup Codespaces. We might be able to copy/learn or otherwise combine efforts.

Criteria for Completion

A number of possible outputs. Some may work better than others.

  • [ ] Admins know and README clearly states the easy way to get to the working Codespace
  • [ ] If we can have some of the setup done automatically (e.g., correct version of Ruby + bundler), we have a start on that (presumably via a .yml file in the .github directory)
  • [ ] Overall conclusion/recommendation on whether Codespaces is at a point that we think it will reduce the on-boarding time for new devs at the Ruby for Good event (vs having them do a local env setup)

scooter-dangle avatar Jun 05 '22 14:06 scooter-dangle

Can I work on this?

heyapricot avatar Jun 05 '22 14:06 heyapricot

@scooter-dangle Unfortunately, looks like you can only use Codespaces if you are using / paying for Github for teams https://www.loom.com/share/d3fbc5a082ae4793aa0f7758321800bf

heyapricot avatar Jun 05 '22 15:06 heyapricot

Good catch! @seanmarcia, is it possible we're already getting this as a service from Github and that that was why I was able to create a codespace as a member of the org? (Could also be that I was able to do that through being a member of my work account or my private subscription 🤔)

If you make @heyapricot a member, maybe he could re-test to check that first possibility. If that still doesn't work, is this something we might be able to ask Github for as an in-kind donation (possibly limited in scope to the event and users who are R4G members)?

scooter-dangle avatar Jun 05 '22 16:06 scooter-dangle

Yes, we have a paid GitHub team account that includes codespaces :)

seanmarcia avatar Jun 06 '22 19:06 seanmarcia

@seanmarcia @scooter-dangle Could someone please verify that Codespaces are enabled for the Rubyforgood organization? To do so, you need to be able to access the organization settings (Which I can't do). I've already joined the organization and I'm still getting the same error message as before:

Create New Codespace: There are currently no machine types available for this repository.

heyapricot avatar Jun 10 '22 16:06 heyapricot

I read the docs in that link and it looks like the only way to use Codespaces as an org is to pay money.

seanmarcia avatar Jun 10 '22 16:06 seanmarcia

This is a bit of a tangent but I've read in the sustainable rails book about creating a bin/setup command to handle setup of the app. I've built one in a new greenfield project and so far it seems pretty great for getting up and running quick.

edwinthinks avatar Jun 11 '22 11:06 edwinthinks

Thanks @heyapricot! Looks like we're now blocked @seanmarcia hearing back from Github. Def productive to have you do this since if only @seanmarcia and I had tried it (or anyone else with a enterprise work account), it would have worked and we wouldn't have realized that it wouldn't work for everyone at an event. :+1:

scooter-dangle avatar Jun 12 '22 14:06 scooter-dangle

This issue has been inactive for 250 hours (10.42 days) and will be automatically unassigned after 110 more hours (4.58 days).

github-actions[bot] avatar Jun 23 '22 00:06 github-actions[bot]

This issue has been inactive for 370 hours (15.42 days) and is past the limit of 360 hours (15.00 days) so is being unassigned.

github-actions[bot] avatar Jun 28 '22 00:06 github-actions[bot]

Gonna close this one. Would be great to have for our events, but there isn't enough indication that we'd be able to have+afford access for all the people participating.

scooter-dangle avatar Sep 25 '22 14:09 scooter-dangle