sakura/docs/dev.md

303 B

Dev configurations

.env.development

SSH_KEY_PATH='~/.ssh/id_rsa'
SSH_REMOTE_HOST='root@8.8.8.8'
SSH_REMOTE_WORK_DIR='/var/www/html/wp-contents/themes/sakura-next'

add this rewrite rule to Nginx:

location /src/assets {
  rewrite ^/(.*)$ http://localhost:9000/$1 redirect;
}