/wp-devcontainer

WordPress devcontainer for VSCode development (Uses docker)

Primary LanguageDockerfile

WordPress Development Container

  • Use as part of php/wordpress developement

To Use

  1. Make a new developer folder mkdir wp-dev.
  2. Change into folder cd wp-dev
  3. Checkout this repo into the folder with the .devcontainer as the name.
  • git clone git@github.com:johanmartindev/wp-devcontainer.git .devcontainer
  • Change into the folder cd .devcontainer
  • Copy example.env to .env
  • Fill in the missing values in .env
  • Change into the parent folder cd ..
  • Check the Wordpress repo into this folder.
  • git@github.com:johanmartindev/wp-nginx-unit-docker-file.git wordpress
  1. Open vscode. code . or via menu in vs code.
  2. Start vscode devcontainer