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

Look into GitHub Codespaces #3372

Open
DeD1rk opened this issue Sep 22, 2023 · 3 comments
Open

Look into GitHub Codespaces #3372

DeD1rk opened this issue Sep 22, 2023 · 3 comments
Assignees
Labels
feature Issues regarding a complete new feature priority: low Should be dealt with when nothing else remains. request-for-comments Author wants to have other people respond for their opinion

Comments

@DeD1rk
Copy link
Member

DeD1rk commented Sep 22, 2023

What?

Github provides a cloud dev environment that you can connect to with VSCode. This is fully isolated, and integrated with GitHub. It makes it really easy to setup a dev environment with one click.

Why?

Setting up concrexit is scary, and codespaces can take away that work. It can really lower the threshold to work on concrexit (no more setting up github ssh auth, no more installing the right python version, no more difficulty getting poetry to work, no need to worry about native dependencies).

Github currently gives everyone 60 hours of free codespaces each month (or 90 for education github pro users), which is more than anyone (except maybe me) spends working on concrexit.

Apart from being low effort for new people, it's also a convenient tool for checking out specific commits.

How?

We should investigate whether we can set stuff up (.devcontainers.json and a Dockerfile) to allow starting a codespace that's immediately ready for ./manage.py runserver.

@DeD1rk DeD1rk added priority: low Should be dealt with when nothing else remains. feature Issues regarding a complete new feature request-for-comments Author wants to have other people respond for their opinion labels Sep 22, 2023
@DeD1rk DeD1rk self-assigned this Sep 22, 2023
@T8902
Copy link
Contributor

T8902 commented Jun 9, 2024

@DeD1rk Any updates on this? Because this is quite cool for people who want to get started would be nice to have it before next year's open technicie day to prevent time waisting on setup. If it's possible if not it is what it is.

@DeD1rk
Copy link
Member Author

DeD1rk commented Jun 9, 2024

I've tried running a codespace once without any customizations, which seemed to go great. But we should definitely try it out a bit more before the new year yes!

For miniconcrexit I assume it'll be even easier as it has fewer dependencies. There it would probably also help a lot in that we wouldn't need to help people get SSH keys setup etc.

@T8902
Copy link
Contributor

T8902 commented Jun 9, 2024

Okay, we can look at it together if you want to start testing and maybe writing some documentation for people to get started since I think we can get this to work before next year then. Because that would be really cool :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Issues regarding a complete new feature priority: low Should be dealt with when nothing else remains. request-for-comments Author wants to have other people respond for their opinion
Projects
None yet
Development

No branches or pull requests

2 participants