infra/nix/pkgs/logseq/README.md

23 lines
842 B
Markdown
Raw Permalink Normal View History

# build instructions
this is pseudocode that serves as a reminder
2024-10-13 20:06:36 +02:00
1. podman build -f Containerfile -t logseq
2. CONTAINER_ID=$(podman container create logseq)
2024-11-15 10:17:56 +01:00
3. podman unshare
4. podman mount $CONTAINER_ID
5. copy and upload the AppImage. e.g.
```
cp /home/steveej/.local/share/containers/storage/overlay/f932ca9f11ea2bfd6b221118eb54775a623bc519bfe38188afcbad51dda2777f/merged/Logseq-0.10.9.AppImage .
exit
scp Logseq-0.10.9.AppImage root@www.stefanjunker.de:/var/lib/container-volumes/webserver/var-www/stefanjunker.de/htdocs/caddy/downloads/
```
6. podman unshare
7. podman unmount
# resources
2024-11-15 10:17:56 +01:00
- https://github.com/logseq/logseq/blob/dc5127b48a7874627bd9ab63696f7ddf821b90a7/docs/develop-logseq.md?plain=1#L90
- https://github.com/logseq/logseq/blob/master/Dockerfile
- https://github.com/randomwangran/logseq-nix-flake