mirror of
https://github.com/slaxeea/papeterie-kappeler.git
synced 2026-01-18 23:21:35 +01:00
No description
| patches | ||
| public | ||
| scripts | ||
| src | ||
| .editorconfig | ||
| .gitignore | ||
| astro.config.ts | ||
| Basis_fuer_Website.pptx | ||
| eslint.config.mjs | ||
| LICENSE | ||
| package.json | ||
| pipeline.yaml | ||
| README.md | ||
| tsconfig.json | ||
| uno.config.ts | ||
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
Branch Guide
masteris automatically deployed to production via the Pipelinetestis deployed toelevuzec.myhostpoint.chdevis 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_HOSTthe IP / URLFTP_PASSWORDFTP_USERhostpointsshkeypair to access the deployment server via ssh
Description of the pipeline:
- Triggers a production deployment pipeline on
PUSHto themasterbranch - Builds the application using Node.js 22 in a Docker container with
pnpm build - Packages the build output by zipping the
distdirectory intodist.zip - Transfers the generated
dist.ziparchive to the remote server pathwww/papeteriekappeler.chvia FTP - Connects to the remote server over SSH and unzips
dist.zipin place, overwriting existing files