Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Development

Notices

Reply
 
Thread Tools Search this Thread
Old 09-21-2022, 04:14 PM   #1
alan-cugler
Junior Member
alan-cugler began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Sep 2022
Device: none
Lightbulb Calibre auto deployment with salt

Good Afternoon (from Texas),
The company I work for has been working to finish a set of open-salt states for deploying and managing Calibre on a Linux headless server. Technically they are already done and work, but I am adding in additional logic checks and such to ensure consistent and stable deployment.

Is there someone to talk to about presenting this "easy deploy" Calibre server code? I'm hoping people think its useful and we can put it on the Calibre website either next to the "getting started" stuff or the download link for the latest version so more people could get this up and running quickly for their personal libraries.

Thank you for your time,
Alan J Cugler,
Terminal Labs Solutions Architect
alan-cugler is offline   Reply With Quote
Old 09-21-2022, 10:50 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,542
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You are welcome to talk to me. Although I am not sure what deploy and manage mean in this context. Isnt it just stop the calibre content server, run the installer and restart the server?
kovidgoyal is offline   Reply With Quote
Advert
Old 09-26-2022, 11:50 AM   #3
alan-cugler
Junior Member
alan-cugler began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Sep 2022
Device: none
To some degree that's the major steps. Some of the salt provisioning goals include:
- Could spin up cloud virtual machine servers (Linux)
- Set Calibre to be managed by systemd and under a deescalated "calibre" system user
- Configure authentication settings
- Stand up an Nginx server to handle traffic
- Set DNS records for a domain name
- Use LetsEncrypt to instantiate SSL certs with automated renewal
- Use Samba to make ebook syncing and metadata management possible from ones desktop

A couple of these goals are pretty wide and experimental, but it would ensure people could overcome issues like:
- not having hardware available
- reach their server from across the internet but having bad internet at home
- simplifying setting up professional security

If someone has already made this available I would love to look, but I have been all over the documentation and forums, and not seen such a comprehensive service initialization.
alan-cugler is offline   Reply With Quote
Old 09-26-2022, 01:32 PM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,542
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I dont know of anyone that's automated all those things publicly at least.
kovidgoyal is offline   Reply With Quote
Old 10-03-2022, 11:33 AM   #5
alan-cugler
Junior Member
alan-cugler began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Sep 2022
Device: none
I guess I am not surprised about a lack of public publishing of such work. It can be both time and financially expensive to develop and then release comprehensive documentation.

Terminal Labs does do this kind of work for the private and public markets regularly. We have a preference towards python and open-source tooling; so we are using salt to accomplish the tasks listed earlier. We hope to host these states along with a couple guides to assist people in using them.

If Calibre is interested in partnering with us towards this goal I would like to setup a meeting and show what we have already developed. Getting some feedback before to much time has been committed in case an assumption we made about Calibre is wrong.

Let me know if you are up for it!
Alan J Cugler,
Terminal Labs Solutions Architect
alan-cugler is offline   Reply With Quote
Advert
Old 10-03-2022, 10:37 PM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,542
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You are most welcome to send a PR with your documentation, it can be added to the existing documentation in server.rst as an example.
kovidgoyal is offline   Reply With Quote
Old 10-07-2022, 11:12 AM   #7
alan-cugler
Junior Member
alan-cugler began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Sep 2022
Device: none
The code and guide will need updating and expansion over time, so I am going to have that hosted on Terminal Labs website so that it will also be maintained.

I would like to put a link and description of Terminal Labs and what the guide is offering on Calibre website. That is what I was pitching to my leadership for making the Calibre states for people. We maintain something that helps a python open-source project and we get to throw our name out there in the community.

Alan J Cugler,
Terminal Labs Solutions Architect
alan-cugler is offline   Reply With Quote
Old 10-07-2022, 11:25 AM   #8
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 44,542
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Sure send a PR with a link to your writeup in server.rst
kovidgoyal is offline   Reply With Quote
Old 10-17-2022, 01:42 PM   #9
alan-cugler
Junior Member
alan-cugler began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Sep 2022
Device: none
Awesome! Alright, look for that in the next couple weeks! Thanks for hearing me out.
alan-cugler is offline   Reply With Quote
Reply

Tags
installation, linux, salt, server, setup


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Packaging Calibre for Sccm deployment - turn notify when new version is available off MCNR Calibre 1 12-10-2020 11:21 AM
The Memory of a Salt Shaker: a short tale about loss, love, and salt. bmcox Self-Promotions by Authors and Publishers 12 01-13-2014 10:23 AM
Automated deployment of Calibre CRussel Calibre 8 10-27-2013 03:02 PM
Deployment Program? luthar28 ePub 3 03-23-2011 12:57 PM
Allergy relief with salt rgeorg Lounge 10 06-07-2009 06:06 PM


All times are GMT -4. The time now is 09:55 PM.


MobileRead.com is a privately owned, operated and funded community.