1. Register your own domain name

    I used IONOS

  2. Sign up your cloudflare account

    Then set up the name server in IONOS according to Cloudflare's instruction

  3. 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

  4. 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.

  5. 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.

  6. Finally

    • use Pelican Quickstart to 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 Content to compile the website
    • use Pelican -l -r to 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.

Published

Last Updated

Category

website setup

Tags

Contact