Mikochi icon indicating copy to clipboard operation
Mikochi copied to clipboard

Build .deb / .rpm packages

Open zer0tonin opened this issue 9 months ago • 4 comments

I asked reddit and it looks like quite a few people love .deb / .rpm files.

It would be good to check if we can provide the .deb through a PPA or similar mechanism.

zer0tonin avatar May 08 '24 17:05 zer0tonin

Hey @zer0tonin are you still thinking of going ahead with this. I am new to this but I was thinking I could take a look at this.

suyash-sneo avatar Jun 20 '24 18:06 suyash-sneo

@suyash-sneo sure, please take a look at it

I think the ideal output for now would be a shell script similar to tar-upload.sh that builds a .deb instead of a .tar.gz

zer0tonin avatar Jun 21 '24 08:06 zer0tonin

Hi @zer0tonin, so what kind of a .deb file would we be looking at? I mean do we want separate compiled binaries for backend and frontend. Or do we want to run them in docker together?

suyash-sneo avatar Jun 23 '24 07:06 suyash-sneo

A single .deb, the current backend can serve the frontend files by itself. So we can run npm run build and compile the frontend to package it alongside the backend, like here

The .deb package should be installable without requiring docker, just like the current .tar.gz binary releases

zer0tonin avatar Jun 23 '24 12:06 zer0tonin