Skip to content

Latest commit

 

History

History
52 lines (37 loc) · 1.36 KB

File metadata and controls

52 lines (37 loc) · 1.36 KB

mailing.gruenetools.ch

Simple web tool to transform Webling export data into print-ready data for mailings. Generates

  • address line 1
  • address line 2
  • greeting formal
  • greeting informal
  • reference number (optional)

while respecting the user's language, and coping with missing data.

Dev guide

Getting started

  1. Install node 18
  2. Install yarn
  3. Run yarn install to fetch all dependencies
  4. Start dev server: yarn run dev

The stack

This is a simple React single-page app written in Typescript and built with Vite. It uses no backend, no SSR etc. Just a plain simple single-page app.

Deps

And of course React, Vite and Typescript 😅

Deploy

# 0. Remove old build folder
rm -rf dist

# 1. Build the application
yarn run build

# 2. Copy the build folder to the server
rsync -avz --delete dist/ root@server:/var/www/html