No description
Find a file
Simon Kühn 6503466344 Run deploy commands as www-data for correct file ownership
SSH key copied to /var/www/.ssh/ for www-data GitHub access.
All git, composer, and console commands now run as www-data so
var/cache/ files are always owned correctly without a manual chown.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-29 20:39:27 +02:00
bin Initial commit: Dudi habit tracker 2026-04-29 15:40:57 +02:00
config Initial commit: Dudi habit tracker 2026-04-29 15:40:57 +02:00
docs Initial commit: Dudi habit tracker 2026-04-29 15:40:57 +02:00
include Initial commit: Dudi habit tracker 2026-04-29 15:40:57 +02:00
migrations Add Doctrine migration to clean up legacy tables and align schema 2026-04-29 20:01:19 +02:00
public Initial commit: Dudi habit tracker 2026-04-29 15:40:57 +02:00
src Add Doctrine migration to clean up legacy tables and align schema 2026-04-29 20:01:19 +02:00
templates Initial commit: Dudi habit tracker 2026-04-29 15:40:57 +02:00
.env Initial commit: Dudi habit tracker 2026-04-29 15:40:57 +02:00
.gitignore Initial commit: Dudi habit tracker 2026-04-29 15:40:57 +02:00
.htaccess Initial commit: Dudi habit tracker 2026-04-29 15:40:57 +02:00
api.php Initial commit: Dudi habit tracker 2026-04-29 15:40:57 +02:00
app.js Initial commit: Dudi habit tracker 2026-04-29 15:40:57 +02:00
CLAUDE.md Initial commit: Dudi habit tracker 2026-04-29 15:40:57 +02:00
composer.json composer: remove post-install scripts, cache:clear handled by deploy.sh 2026-04-29 15:55:38 +02:00
composer.lock Initial commit: Dudi habit tracker 2026-04-29 15:40:57 +02:00
deploy.sh Run deploy commands as www-data for correct file ownership 2026-04-29 20:39:27 +02:00
index.php Initial commit: Dudi habit tracker 2026-04-29 15:40:57 +02:00
logo.png Initial commit: Dudi habit tracker 2026-04-29 15:40:57 +02:00
README.md Initial commit: Dudi habit tracker 2026-04-29 15:40:57 +02:00
style.css Initial commit: Dudi habit tracker 2026-04-29 15:40:57 +02:00
symfony.lock Initial commit: Dudi habit tracker 2026-04-29 15:40:57 +02:00

Dudi Durchzieh-Dienst

A lightweight habit & goal tracker PWA built with Symfony 8, Doctrine ORM, and vanilla JS.

Stack

  • Backend: Symfony 8, Doctrine ORM, Symfony Security, Symfony Mailer
  • Frontend: Vanilla JS SPA, HTML <template> elements, no build step
  • Database: MariaDB
  • Auth: Symfony Security with bcrypt, session + remember-me (24h)

Local Setup

composer install
cp .env .env.local   # then fill in real values
php bin/console cache:clear

Configure Apache to point to public/ as DocumentRoot (see docs/deployment.md).

Development

The app runs at http://dudi.local/ locally. An Apache VirtualHost and /etc/hosts entry are required.

127.0.0.1 dudi.local

Apache VirtualHost:

<VirtualHost *:80>
    ServerName dudi.local
    DocumentRoot "/path/to/dudi/public"
    <Directory "/path/to/dudi/public">
        AllowOverride All
        Require all granted
    </Directory>
</VirtualHost>

Deploy

bash deploy.sh

See docs/deployment.md for first-time server setup.