Plugin to create custom post type for breweries and wp-cli commands to import breweries from the Open Brewery API.
- docker
- docker-compose
Copy sample.env to .env and customize-it
Just run the following command at the root folder of the project
./first-run-on-localhost.sh
The line bellow create an alias to run wp inside the container:
alias wp="docker compose run --rm wp-cli"
Please wait 2 minutes before run the command bellow in order to ensure everything is running well.
wp breweries import
(if you created the alias)
or
docker compose run --rm wp-cli breweries import
(if not)
Redirect / site to anywhere else, once it's headless