SetUp this Zola Blog

This is an abstract of how this blog was setting up

Albert Giró published on
2 min, 266 words

Categories: Tutorials

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

  1. Sign in or create a new Cloudflare account and choose "Pages" on the right nav column
  2. Press the button "Create a project"
  3. Select the GitHub repo that contains your Zola website and connect it to Cloudflare Pages
  4. Click "Begin setup"
  5. 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.
  6. In Build settings, select Zola as the Framework preset. Build command and Build output directory will be filled automatically.
  7. Toggle Environment variables below and add ZOLA_VERSION as a variable name. Use 0.13.0 or a different Zola version as the value.
  8. 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/