- Use as part of php/wordpress developement
- Make a new developer folder
mkdir wp-dev
. - Change into folder
cd wp-dev
- 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
- Open vscode.
code .
or via menu in vs code. - Start vscode devcontainer