typemill / typemill

Typemill is a lightweight, flat-file CMS designed for simple, fast, and flexible website and eBook creation using Markdown.
https://typemill.net
MIT License
427 stars 60 forks source link

Staging workflow #398

Open Tekl opened 1 year ago

Tekl commented 1 year ago

I don't edit my site on the live server because I can't preview my edits before publishing.

Currently, I do everything on a locals server, but that does not work on the go.

So I thought I could use a second installation of Typemill for staging, maybe on a subdomain. When everything is fine, then all changes should be transferred to the live version.

Does anybody know a a simple tool/script for this. And how to make the staging system not be indexed by Google? I can't configure the staging system differently or add noindex stuff to the theme as that would be transferred to the live system. Will http auth be a good choice?

trendschau commented 1 year ago

For my own website I simply restrict access to the stage version to logged in users (in system settings), so the website can not be crawled.

Maybe someone else has a good workflow for transferring files, would love to find a solution for that, too...

Tekl commented 1 year ago

How do you transfer the updated content to the live version?

trendschau commented 1 year ago

FTP. I use that workflow only in rare cases when I refactor my whole content. For general editing, the visual mode is enough for me, all the formatting is there.

You probably use the raw mode and you want to preview a page in your theme-design before you publish changes?

Tekl commented 1 year ago

Yes, I would like to see the edits with my theme. For example, I want to see if images are placed correctly.