You will need composer
, gulp
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
.
gulp sass
gulp svg
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.