Hosted Plenti CMS to Cloudflare Pages #350
jamestagal
started this conversation in
Show and tell
Replies: 1 comment 2 replies
-
Thanks for putting together this guide @jamestagal, I think it will be helpful to a lot of folks! This illustrates a really good point that you can deploy to any number of static hosting solutions, and as long as you're using a Plenti supported OAuth + CI/CD combo, in this case GitLab, the CMS will still work (you can build in any CI if you don't care about the CMS). Your site looks awesome too, another great project! |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all
Just wanted to share a win with being able to successfully deploy and host a Plenti CMS site with Cloudflare Pages.
Assumptions:
My
.gitlab-ci-yml
file is as follows:Steps to configure:
In Cloudflare:
User API Token
& Copy the generated tokenIn your GitLab project:
In your local project:
redirect_url
with your Cloudflare Pages dev url (plentifyplumbing.pages.dev) **(initially and later with custom domain) in yourplenti.json
config file-- CNAME jellybeanjourney.com -> plentifyplumbing.pages.dev
-- CNAME www -> plentifyplumbing.pages.dev
-- jellybeanjourney.com
-- www.jellybeanjourney.com
**Note: After adding my custom domain, I had to update my
redirect_url
in the App ID in GitLab and in my Plenti CMS config custom domain otherwise the authentication didn't direct to the custom domain when using the Cloudflare Page dev url.Hope that helps folks looking at using Cloudflare Pages to host a Plenti CMS site.
Best regards,
Ben
Beta Was this translation helpful? Give feedback.
All reactions