You will need composer
, node
and docker
.
composer install
npm install
cp .env.dist .env
docker-compose build
docker-compose up -d
docker compose exec php composer app:db:update
docker compose exec php composer app:gen:blog
Then navigate to http://localhost
!
Pages are cached on first view.
If you need to clear the cache, run docker compose exec php composer app:cc
.
You can disable the cache by setting CACHE.FPC.ENABLE
to false
in your .env
file.
npm run build
The cloud styles and JS are built using vite.js
and therefore has a dev/watcher mode with hot/live reloading.
Run:
npm run dev
docker-compose exec redis redis-cli keys '*'
docker-compose exec php composer app:cc
You will need capistrano installed and SSH access to the production server.
cap production deploy
Letsencrypt certs should be setup and located in /etc/letsencrypt
Make sure .env
file exists in shared
folder. You can use env.dist
as an example.