infra/nix/pkgs/logseq/README.md

24 lines
848 B
Markdown
Raw 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)
2. podman unshare
3. podman mount $CONTAINER_ID
2024-10-13 20:06:36 +02:00
4. 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/
```
5. podman unshare
6. podman unmount
# resources
* 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