git clone --recursive [git-url]
docker-compose up -d
(maybe has to be executed 2 times because of init)./sql/create_database.sh sql/[newest_sql_dump].sql
- without sql dump:
- rename public/wp-config.php and go through WP install process
- after installation change filename back to wp-config.php and remove public/wp/wp-config.php
- without sql dump:
npm install
gulp dist
(creates theme for the first time)
- apache serves
/public
directory gulp
(watch with livereload)gulp dist
(dist with rev and min)
./sql/dump_database.sh
- create .env.config.php per environment basis and put it on the server
- set
APP_ENV
to determine which enviroment to load (local, staging, production)
- create artifacts:
public
: public webserver.env.config.php
: set environment variablesconfig
: environment configurations