SetUp this Zola Blog
This is an abstract of how this blog was setting up
Install Zola
Install Zola with flatpack
flatpak install flathub org.getzola.zola
To run Zola run with
flatpak install flathub org.getzola.zola
or add an alias in your shell rc ~/.bashrc
, ~/.zshrc
…
alias zola="flatpak run org.getzola.zola"
Initialize project
mkdir <blogName> && cd $_
zola init
git init
Deploy
deploy to cloudflare
https://www.getzola.org/documentation/deployment/cloudflare-pages/
Step-by-step
- Sign in or create a new Cloudflare account and choose "Pages" on the right nav column
- Press the button "Create a project"
- Select the GitHub repo that contains your Zola website and connect it to Cloudflare Pages
- Click "Begin setup"
- Enter your project name. Keep in mind that if you would like to use the default Pages domain (pages.dev), this will be your website's future URL ("yourprojectname.pages.dev"). Additionally, select a production branch.
- In Build settings, select Zola as the Framework preset. Build command and Build output directory will be filled automatically.
- Toggle Environment variables below and add
ZOLA_VERSION
as a variable name. Use0.13.0
or a different Zola version as the value. - Finally, save and deploy.
Your website is now built and deployed to Cloudflare's network! You can add a custom domain or modify settings in the Pages dashboard.
You may find documentation and guides like Getting started with Cloudflare Pages and Deploying Zola with Cloudflare Pages in the Developers portal.
Configuration
Select a theme to apply in https://www.getzola.org/themes/