Re:Ask HN: Do you suggest static site generators to your cus...
by lenomad on Tuesday July 11, 2017 @10:39AM
(#14744526)
That's very interesting. Is any of this code open-source?
Re:Ask HN: Do you suggest static site generators to your cus...
by shakna on Tuesday July 11, 2017 @08:54PM
(#14749334)
The Firebase part?
I'm afraid not, but mostly because it's both simple, and fairly reliant on architecture.
Basically the process is:
Firebase authentication -> Content editable editor -> Firebase database update -> GitLab CI -> Pandoc & bash to update static site to latest Firebase -> Deploy to website
I've got a smallish piece of JS that gives the client a WYSIWYG editor, which speaks to Firebase.
When Firebase gets an update, it triggers a rebuild.
Best of both worlds.