To deploy your site to production, you'll need to connect Tina to a hosted backend. This won't act as the source of truth for your data, but only to interface with your repo-based datastore.
We have created TinaCloud as a tailored service to work with TinaCMS, but you can also set this up with your preferred hosting provider.
TinaCloud provides:
The Data Layer contains indexes of your Markdown and JSON files, ensuring low latency when fetching content. The Data Layer is synced up with your GitHub repository to ensure the indexes represent the source of truth.
Check out the blog post for more info
For those who prefer to learn from video, you can check out a snippet on "TinaCloud" from our "TinaCMS Deep Dive" series.
Make sure all the contents of your site are pushed to Github and your tina/tina-lock.json
is up to date and pushed to Github.
If your using TinaCloud, check out the docs on how to deploy a TinaCloud.
If you are self hosting, check out the docs on how to deploy a self hosted backend.
Check out this doc that explains the differences between the two.