Skip to content

teonite/teonite.github.io

Repository files navigation

teontie Website

Powered by: Astro

Prerequisites

Node

Current recommended version of Node.js is 21.4
Install via NVM or manually.

NVM

nvm install 21.4
nvm use 21.4

PNPM

npm i -g pnpm

Install deps

Install dependencies with pnpm, then:

pnpm install

Build

PNPM

pnpm build

After that static files will reside in ./dist

Docker

docker-compose -f ./docker-compose.build.yaml run --build  site-build

After that the ready build will be inside ./docker-dist.
Note that docker will make docker-dist owned by root.

Launch dev server

pnpm dev

Deploy

To deploy your changes in production you should configure kubectl. After your changes you should run in your repo

./build-deploy.sh build

And if you are ready to deploy all your changes run this command

./build-deploy.sh deploy