Skip to content

Commit d2ee6f5

Browse files
committed
update migrating.md
1 parent 3f475d6 commit d2ee6f5

File tree

1 file changed

+52
-13
lines changed

1 file changed

+52
-13
lines changed

migrating.md

Lines changed: 52 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@ this is a problem for
1313
- [ ] nbautoeval (won't work in a static site anyway, unless re-written to use browser-embedded python)
1414
- [ ] interactive visualizations (this being said it was already not working under jb1)
1515

16+
```{admonition} need to dig more
17+
:class: warning
18+
19+
I have seen references to using `jupyterlite` to embed a mini-jupyter in the page, which would solve the problem;
20+
but I have not found any working example yet.
21+
```
22+
1623
### static stuff
1724

1825
things in `_static` don't get found ?
@@ -43,19 +50,51 @@ https://github.com/jupyter-book/mystmd/issues/670#issuecomment-2726442232
4350

4451
## what we have now
4552

46-
| course | orga | now | target | comment | URL |
47-
|:------:|:----:|:---:|:------:|:-------:|:---:|
48-
| jupyterlab-examples | flotpython | jb2 | | **DONE** | https://flotpython.github.io/jupyterlab-examples |
49-
| intro | ue12-p25 | astro | | **DONE** | https://ue12-p25.github.io/intro |
50-
| numerique | ue12-p25 | jb2 | | **DONE** | https://ue12-p25.github.io/numerique |
51-
| git | ue12-p25 | was jb1 | astro? | not-started | ... |
52-
| slides | flotpython | jb2 | | **DONE** | https://flotpython.github.io/slides |
53-
| exos-python | flotpython | jb1 | jb2 ? | check for limitations | https://flotpython.github.io/exos-python |
54-
| exos-ds | flotpython | jb1 | jb2 ? | check for limitations | https://flotpython.github.io/exos-ds |
55-
| web (rename as frontend) | ue22-p25 | was jb1 | astro? | not-started| ... |
56-
| backend | ue22-p25 | was remarkjs | astro? | not-started| ... |
57-
| backend-flask-chatapp | ue22-p25 | was codehike | same | not-started| ... |
58-
| backend-fastapi-notes | ue22-p25 | just Python for now | codehike | not-started| ... |
53+
<style>
54+
.todo {
55+
background-color: #ffdddd;
56+
border-left: 6px solid #f44336;
57+
margin-bottom: 15px;
58+
padding: 10px 15px;
59+
}
60+
</style>
61+
62+
| course | orga | tool | comment | URL |
63+
|------------------------:|:------------:|:--------:|:-----------------------:|--------------------------------------------------:|
64+
| `intro` | `ue12-p25` | astro | done | https://intro.info-mines.paris/ |
65+
| `numerique` | `ue12-p25` | jb2 | done | https://numerique.info-mines.paris/ |
66+
| `numerique-exos` | `flotpython` | jb2 | done <br> limitations ? | https://numerique-exos.info-mines.paris/ |
67+
| `slides` | `flotpython` | jb2 | done | https://python.info-mines.paris/ |
68+
| `python-exos` | `flotpython` | jb2 | done<br> limitations ? | https://python-exos.info-mines.paris/ |
69+
| `git` | `ue12-p25` | jb2 | done | https://git.info-mines.paris/ |
70+
| `frontend` | `ue22-p25` | jb2 | done | https://frontend.info-mines.paris/ |
71+
| `backend` | `ue22-p25` | jb2 | done | https://backend.info-mines.paris/ |
72+
| `jupyterlab-examples` | `flotpython` | jb2 | done | https://flotpython.github.io/jupyterlab-examples/ |
73+
| `backend-flask-chatapp` | `ue22-p25` | codehike | not-started | ... |
74+
| `backend-fastapi-notes` | `ue22-p25` | ??? | not-started | ... |
75+
76+
## Notes on domains and URLs
77+
78+
- the simple case is with the `ue12-p25` courses
79+
they are now bound to their own domain, e.g. <https://numerique.info-mines.paris/>
80+
- same for `ue22-p25`; that orga is also bound to the info-mines.paris domain in GH, so all is well
81+
- for the `flotpython` orga, we have no custom domain right now; there are several options
82+
- [ ] use the `flotpython.github.io` domain, which is bound to the flotpython orga
83+
- this would give URLs like <https://flotpython.github.io/exos-python/>
84+
- this requires defining BASEURL to be the project name in each repo's gh action (the default when using jb2 template action)
85+
- [ ] use a separate custom domain, e.g. <https://exos-python.flotpython.io/>
86+
- this would require buying and maintaining a domain name, and setting up GH pages to use it
87+
- changes would be needed in the repos themselves (so that the GH action does not set BASEURL to be the project name)
88+
- [x] reuse the `info-mines.paris` domain, e.g. <https://python-exos.info-mines.paris/>
89+
- [x] this would also require setting up the GH orga to bind to that domain (no big deal)
90+
- [x] same comment about BASEURL as above
91+
92+
```{admonition} apex domain
93+
94+
Note that the toplevel domain `info-mines.paris` is implemented as a
95+
redirect to <https://intro.info-mines.paris/> through this repo-redirect
96+
https://github.com/ue12-p25/portal
97+
```
5998

6099
## JB1
61100

0 commit comments

Comments
 (0)