Page about me with blog
- PHP 8
- Symfony 7
- MySQL 8
- Node 20 (Webpack with Encore)
- Docker
composer install --no-dev --optimize-autoloadernpm cinpm run build- Prepare database, execute
docker/mysql/database.sqlto create initial structure - Prepare
.env.localbased on.env - Build image from Dockerfile
- Run container with image
- expose port 80
- mount/copy
.env.localto/var/wwwin container - mount/copy SSH key to
/var/www/.ssh/in container - set
CONTENT_REPO_URLandCONTENT_REPO_BRANCHenvironment variables
docker compose updocker compose exec www bashcomposer installnpm installnpm run dev/npm run watch
php bin/console app:load:posts- load all posts from md files to databasephp bin/console app:build:blog-rss- generate RSS file for blogphp bin/console app:build:sitemap- generate sitemap