Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

'standalone' build.sh static #23

Open
geoffroy-noel-ddh opened this issue Mar 4, 2019 · 1 comment
Open

'standalone' build.sh static #23

geoffroy-noel-ddh opened this issue Mar 4, 2019 · 1 comment

Comments

@geoffroy-noel-ddh
Copy link

Currently build.sh static relies on another instance of a kiln running in the background. It would be very convenient to have a single, stand-alone command that generates the dist.

Use case:
A cron job to regularly generate a handful of html from TEI source files modified by an editorial team. I'd rather not have jetty running as a service and consuming a lot of memory just for the periodic conversions. And I'd also like to have this fully automated (i.e. not start and stop it manually).

Ideally there would be a way to run transforms entirely in the foreground. If that's not possible then at least starting kiln, downloading the dist from it and stopping kiln within the same bash.

@ajenhl
Copy link
Contributor

ajenhl commented Mar 4, 2019

I'm not averse to having the static build target allow for this, but remember that it is just the lightest of wrappers around a single wget call. The intent was to provide a simple way for non-developers to get a static set of files to then be hosted, rather than as a sysadmin tool.

Patches are welcome!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants