This application is powering https://www.harangiert.de
I decided to make this open source as a very simple example of a blog running on a proper PHP CMS like Sulu, instead of, you know, one of the other systems.
You can run this on probably any PHP-compatible OS, depending on which installation setting you prefer.
Documentation on how to install Docker and docker-compose is not included here.
- run
cp .env.dist .envand adjust settings as you wish - run
docker compose up -d --build - run
docker exec -it harangiert_php composer install - run
docker exec -it harangiert_php php bin/adminconsole doctrine:database:create --if-not-exists - run
docker exec -it harangiert_php php bin/adminconsole sulu:build dev - run
docker exec -it harangiert_php php bin/adminconsole assets:install - run
cd app/assets/admin && nvm use && corepack prepare pnpm@10.33.3 --activate && corepack enable && pnpm install - run
cd app/assets/website && nvm use && corepack prepare pnpm@10.33.3 --activate && corepack enable && pnpm install - watch frontend changes
- run
cd app/assets/admin && nvm use && corepack prepare pnpm@10.33.3 --activate && corepack enable && pnpm run watch - run
cd app/assets/website && nvm use && corepack prepare pnpm@10.33.3 --activate && corepack enable && pnpm run dev
- run
After you've finished the installation, you only need to run docker compose up -d
when booting the project another time.
Production build doesn't boot any database. Add one if you wish to or connect to a local or external database.
- run
cp .env.dist .envand adjust settings as you wish- make sure to set
COMPOSE_FILE=docker-compose.yml:docker-compose.prod.yml
- make sure to set
- run
./build.sh - run
docker compose up -d --build