We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.
Hi,
please it is not clearly for me how to add for example GIT
Im on mac and if i got into default /users/alex/Documents/Publii/sites/
then into site name i see three folders: input, output and preview
i guess input is what i need to have in GIT, right?
but there, i cant find source file for my posts
Thanks
Hello Alex,
All the files related to the visual part of your website are located in:
[name website]/input/themes/[name theme]
And yes, I would put the directory input in git.
Good luck,
Verhoeckx
this is my folder you pointed me
What are the file(s) is(are) my source for my post(s), please?
Publii uses the index.hbs file to generate the homepage and the post.hbs file to generate the posts.
If you open one of those files you see that it contains HTML code and Handlebars code.
More information can be found here:
https://getpublii.com/dev/theme-structure/
And more information about Handlebars can be found here:
https://handlebarsjs.com/
post.hbs within that folder is dated 20th of March
so this is not my file i want to version it
Simple Q: where are my sources, please? 🙁
Looks like all posts sources are stored in SQLite DB, damn it
I thought all is editable and outside. So no way to edit sources with 3rd party editors? @Bob
im just asking if there is a possibility to version control sources in Visual Studio Code. Idea is to use one editor for all your needs and have versions of your post work
You dont have time to answer customer Q? Good attitude
and im talking about Source Code editor, not Markdown and two others
There is only one possible right now: copy/paste.
workaround is to have versioned sources somewhere and then copy/paste into publii?
No plans to have sources outside of the SQLite?
Hello Alex,
I’m not sure this is helpful but this how I work:
People do not normally use Dropbox to version a software project but it is perfectly possible if you are the only programmer.
Hope this helps.
Verhoeckx
ps. You can use ‘DB browser for sqlite’ if you want to look into the db.sqlite file (but keep the editing of this file to Publii!).
Hi community, Hi Publii team,
Question to Bob or Tomasz,
I have stumbled upon this article a while ago, mentioning that sqlite engine has been rewritten:
https://getpublii.com/blog/speed-up-startup-to-render.html
It also mentions that possibility to work parallelly on the project should be coming thanks to that.
Is there maybe any good news, timeline regarding this? 🙂 I think it is an important feature for many many people.
And now question to community:
Has someone tried a workaround maybe?
Like some scripts running when committing that would dump database to another format and then do the otherwise when checking out commit?
Best,
Sz.
Learn how Publii works, from installation to creation.
Documentation, guides, and tutorials for developers.
Explore and interact with others and learn new things.
Dedicated customer support for paid products.
Read up on the latest news about Publii and its products.