GitbookIO / nuts

:chestnut: Releases/downloads server with auto-updater and GitHub as a backend
http://nuts.gitbook.com
Apache License 2.0
1.25k stars 299 forks source link

Deploy without github #40

Open d9k opened 8 years ago

d9k commented 8 years ago

Hi! Is it possible to use nuts without github (use private git or mercurial repo on the same server where nuts was deployed)?

AaronO commented 8 years ago

@d9k nuts has backends, there's only one implemented by default which is the github backend.

Basically backends provide a means to get all the current versions, optionally a changelog and read build assets per version.

So in theory you can implement whatever logic you want through a driver. So yes, that would allow you to have a local (to nuts) git repo that holds all your build assets and has tags for each version.

It's possible, but it's not what we recommend/support, GitHub integration is a breeze since it works as expected out of the box and should work for pretty much any standard GitHub project.

ArekSredzki commented 8 years ago

@d9k I had a similar use case and initial modified nuts but soon realized that it would be better to develop the app from scratch. Perhaps it'd be of use to you: https://github.com/ArekSredzki/electron-release-server

d9k commented 8 years ago

@ArekSredzki, interesting, thanks!)