diff options
| author | Pjotr Prins | 2025-07-20 10:36:41 +0200 |
|---|---|---|
| committer | Pjotr Prins | 2026-01-05 11:12:10 +0100 |
| commit | da1f901638862d574ce1be6cb8fcb76d23e00d3f (patch) | |
| tree | 9abc5cc13f4075856e2cd0f5732017e353065215 | |
| parent | ff5c0b87a8bf3fd016c9304be04ae015c4fa43cc (diff) | |
| download | gn-gemtext-da1f901638862d574ce1be6cb8fcb76d23e00d3f.tar.gz | |
Added tasks for building dev containers
| -rw-r--r-- | topics/systems/debug-and-developing-code-with-genenetwork-system-container.gmi | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/topics/systems/debug-and-developing-code-with-genenetwork-system-container.gmi b/topics/systems/debug-and-developing-code-with-genenetwork-system-container.gmi index 7565f97..7963e12 100644 --- a/topics/systems/debug-and-developing-code-with-genenetwork-system-container.gmi +++ b/topics/systems/debug-and-developing-code-with-genenetwork-system-container.gmi @@ -8,7 +8,7 @@ In principle we'll build guix system containers as described in The idea is to minimise `guix pull' and system container builds, so as to speed up development. The advantage of using an existing system container is that the full deployment is the same on our other running systems! No more path hacks, in other words. -# Philosophy +## Philosophy For development containers we will: @@ -27,7 +27,33 @@ Also: I.e. no https, not authentication by default (as long as we run on localhost). The localhost URLs and file paths can be defaults because there will only be one development container running on a single machine. +System containers are a bit overkill for development. Still, in some cases we'll need a system container. For example when testing integration of gn-auth, uploader, gn2 etc. We have the CD deployment that gets updated when git repos change. We also have a development container written by @bonz that needs to be improved and documented. + +=> https://git.genenetwork.org/gn-machines/tree/genenetwork-local-container.scm?h=gn-local-development-container + +Note it is on a special branch for now. + Databases, and files will simply be shared on default paths - /export/guix-containers/gndev/... +And if you need different combinations it should be relatively easy to compose a new shell or system container. + +# Tags + +* type: bug +* status: open +* priority: high +* assigned: pjotrp +* interested: pjotrp,bonfacem,fredm +* keywords: development, deployment, server + +# Tasks + +Create a dev environment for: + +* [ ] GN3 +* [ ] gn-guile +* [ ] GN2 +* [ ] gn-auth +* [ ] gn-uploader # GN3 in system container |
