zer0tonin / Mikochi

A minimalist file-manager with streaming capabilities
MIT License
168 stars 6 forks source link

Build .deb / .rpm packages #6

Open zer0tonin opened 2 months ago

zer0tonin commented 2 months ago

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.

suyash-sneo commented 2 weeks ago

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.

zer0tonin commented 2 weeks ago

@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

suyash-sneo commented 2 weeks ago

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?

zer0tonin commented 2 weeks ago

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