- Docker installed
- PHP and Composer installed locally. If not, you can use them in containers provided, prefixing all Composer commands below with
docker compose run composer <command>
- Copy
.env.example
to.env
- Run
composer install
ordocker run composer install
to install PHP dependencies - Run
npm install
inweb/app/themes
to instal JavaScript dependencies - Build frontend assets with
npm run watch
inweb/app/themes
- Start the server with
docker compose up
- Import data with
mysql -h 127.0.0.1 -P 3308 -uroot -ppassword awasqa < awasqa.local.sql
- The WordPress admin password can be reset with
docker compose run wordpress wp user update admin --user_pass="PASSWORD"
- The site should be at http://localhost:8082
The site is deployed on Kinsta. Update the site by using ssh to connect to the server, then
cd public; git pull
. The ssh credentials can be found on the Kinsta dashboard.