-
Notifications
You must be signed in to change notification settings - Fork 24
Setting Up Your Development Environment
Allen Snook edited this page Jun 19, 2020
·
3 revisions
We use and recommend Docker for development for the Amazon Pay extension. To set up your development environment:
- Clone the Amazon Pay repository
- Ensure Docker is installed (Docker Desktop is a good option for developers)
- From the root of this project, run
docker-compose up -d
- Once http://localhost:8082 displays the WordPress install screen, run
./bin/docker-setup.sh
- The fully configured site can now be accessed on http://localhost:8082
- The prompt to run the setup wizard can be dismissed unless there is something specific you would like to configure
To shutdown:
- Use
docker-compose down
to stop the running containers - The state of the environment will be persisted in
docker/wordpress
anddocker/data
. To restart the environment simply rundocker-compose up -d
again. To start afresh, delete these folders and letdocker-compose up
re-create them.
WooCommerce is an open source eCommerce platform built for WordPress and lovingly crafted by Automattic and the WooCommerce community ❤