nmfs-opensci / container-images

The docker stack for data science applications for NOAA Fisheries
https://nmfs-opensci.github.io/container-images/
Apache License 2.0
8 stars 2 forks source link

codespace idea #18

Open MichaelAkridge-NOAA opened 5 months ago

MichaelAkridge-NOAA commented 5 months ago

Codespace Idea

Just an idea to possibly help streamline codespace environment generation and setup

Link: https://github.com/MichaelAkridge-NOAA/codespace-generator

MichaelAkridge-NOAA commented 5 months ago

Codespace Idea #2 - Codespace Designer

Github page that takes in the NMFS-Opensci image list, and allows users to customize/design a codespace devcontainer file as they see fit using easy option selectors.

Design a Codespace

s01 s02

eeholmes commented 5 months ago

@MichaelAkridge-NOAA This is fantastic! Thoughts on how to combine this with a Docker Stack page? By the looks of your GitHub Page, you are a better GitHub Page designer than I am. Maybe a GitHub Page with a top nav bar that looks a little like pkgdown

Does it create by chance the button that opens the Codespace? Like on this page https://github.com/eeholmes/earthdata-cloud-cookbook/blob/main/README.md I think I saw that you have buttons like this too?

MichaelAkridge-NOAA commented 5 months ago

@eeholmes Thanks! And what you listed already sounds like a great idea to me. I'll create a fork and try to test a few Github page ideas.

The codesapce designer doesn't currently create the button/links to start the codespace, just download, but I'll add that to my list to explore for sure.

I haven't tried to make one before, but an oauth app might be interesting all in one solution.

It could potentially, once authorized by the user, use the github api to create a new repo with the devcontainer file and launch the codespace all in one.

MichaelAkridge-NOAA commented 5 months ago

@eeholmes Here is a first test at some of the Github Page ideas in action.

Images tab: Dropdown that goes to each image README.md (in the images folder)

Links to Dev Info Readme and Codespace Designer

image

MichaelAkridge-NOAA commented 5 months ago

@eeholmes just-the-docs github page test

eeholmes commented 3 months ago

Some other notes

https://cs50.medium.com/providing-students-with-standardized-cloud-based-programming-environments-at-terms-start-for-a82b0e5c4fae