Page about me with blog
- PHP 8
- Symfony 7
- MySQL 8
- Node 20 (Webpack with Encore)
- Docker
composer install --no-dev --optimize-autoloader
npm ci
npm run build
- Prepare database, execute
docker/mysql/database.sql
to create initial structure - Prepare
.env.local
based on.env
- Build image from Dockerfile
- Run container with image
- expose port 80
- mount/copy
.env.local
to/var/www
in container - mount/copy SSH key to
/var/www/.ssh/
in container - set
CONTENT_REPO_URL
andCONTENT_REPO_BRANCH
environment variables
docker compose up
docker compose exec www bash
composer install
npm install
npm 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