No description
Find a file
2026-01-12 12:26:13 +01:00
patches initial commit 2025-08-23 22:11:08 +02:00
public add jubilaeumsschrift.pdf to about page 2026-01-12 12:03:12 +01:00
scripts initial commit 2025-08-23 22:11:08 +02:00
src add instagram link instead of linkedin 2026-01-12 12:26:13 +01:00
.editorconfig initial commit 2025-08-23 22:11:08 +02:00
.gitignore improve order pages in all languages 2025-10-04 14:18:15 +02:00
astro.config.ts remove unused plugins 2025-10-25 21:45:32 +02:00
Basis_fuer_Website.pptx update pptx 2026-01-08 12:59:16 +01:00
eslint.config.mjs initial commit 2025-08-23 22:11:08 +02:00
LICENSE initial commit 2025-08-23 22:11:08 +02:00
package.json upgrade to astro v5.16 2025-12-14 18:40:36 +01:00
pipeline.yaml add pipeline.yaml 2025-10-26 00:15:45 +02:00
README.md add pipeline docs 2026-01-12 12:19:37 +01:00
tsconfig.json initial commit 2025-08-23 22:11:08 +02:00
uno.config.ts add order page 2025-09-27 11:48:10 +02:00

Papeterie Kappeler

Install

# Clone the repository
git clone <repository-url>

# Navigate to the project directory
cd <repository-name>

# Install pnpm globally (if not already installed)
npm install -g pnpm

# Install dependencies
pnpm install

# Start the development server
pnpm dev

Theme Guide

Branch Guide

  • master is automatically deployed to production via the Pipeline
  • test is deployed to elevuzec.myhostpoint.ch
  • dev is the development branch.

Work on dev and then merge changes, once ready, onto either test or master

Tagging

Tag major and minor releases once pushed to production to ensure rollback to previous deployment version is possible. Tag the master branch with the following command (replace version number and date):

git tag -n9
git tag -a v1.1 -m "Deployment of 08.01.2026"
git push --tags

Pipeline

Pipelines run with buddy. There is a separate pipeline for test and prod. They work in the same manner, only the deployment path and branch have to be changed.
Set the following env variables:

  • FTP_HOST the IP / URL
  • FTP_PASSWORD
  • FTP_USER
  • hostpointssh keypair to access the deployment server via ssh

Description of the pipeline:

  1. Triggers a production deployment pipeline on PUSH to the master branch
  2. Builds the application using Node.js 22 in a Docker container with pnpm build
  3. Packages the build output by zipping the dist directory into dist.zip
  4. Transfers the generated dist.zip archive to the remote server path www/papeteriekappeler.ch via FTP
  5. Connects to the remote server over SSH and unzips dist.zip in place, overwriting existing files

Credits