-
Register your own domain name
I used IONOS
-
Sign up your cloudflare account
Then set up the name server in IONOS according to Cloudflare's instruction
-
Sign up your Github account
And create a new repository then clone to local to develop. I would use VS Code as the developing tool
-
Static website generator
Tried Jekyll & Pelican, chose Pelican as my tool since it's easier to install and more straightfoward to use. Also there are many Pelican Themes available on Github.
-
Publish the github repository to Cloudflare pages
In Cloudflare, publish the Github repository (Pelican output folder) to Pages, assign a custom domain by using the domain name you registered.
-
Finally
- use
Pelican Quickstartto create an empty website structure - use Github desktop to check in Github to create a new repositoty
- start editing the markdown files in content folder (local) by using VS Code.
- use
Pelican Contentto compile the website - use
Pelican -l -rto start local webhost to verify - use Github Desktop to check in the changes to Github
- by the setup of step 5, all the content will be automatically published to Cloudflare to be available to access by your own domain name.
- use