zola init zola_site
git clone https://codeberg.org/kogeletey/karzok zola_site/themes
or install as submodule:
cd zola_site
git init # if your project is a git repository already, ignore this command
git submodule add https://codeberg.org/kogeletey/karzok zola_site/themes
config.toml
base_url = "https://karzok.example.net" # set-up for production
theme = "karzok"
See more in configuration
cp ./themes/content/_index.md content/_index.md
how you can give freedom to your creativity
i. development enviroment
pnpm ci
pnpm run build
zola serve
in the root path of the projectzola serve
Open in favorite browser http://127.0.0.1:1111. Saved changes live reolad.
ii. production enviroment
FROM ghcr.io/kogeletey/karzok:latest AS build-stage
# or your path to image
ADD . /www
WORKDIR /www
RUN sh /www/build.sh
FROM nginx:stable-alpine
COPY --from=build-stage /www/public /usr/share/nginx/html
EXPOSE 80
docker build -t <your_name_image> . &&\
docker run -d -p 8080:8080 <your_name_image>
image: ghcr.io/kogeletey/karzok:latest # or change use your registry
pages:
script:
- sh /www/build.sh
- mv /www/public public
artifacts:
paths:
- public/
Open in favorite browser https://localhost:8080
This program is Free Software: You can use, study share and improve it at your will. Specifically you can redistribute and/or modify it under the terms of the MIT
Make sure to read the Code of Conduct
On the codeberg issues or github issues