A Docker Compose development setup is available, based around the bitnami/opencart image.
First, you need to start the Docker containers:
docker compose up -d
You can now view OpenCart on http://localhost, and the admin portal can be found on http://localhost/administration.
Default credentials:
- Username:
admin
- Password:
parcelpro1
The easiest way to install or update the module is by running ./install.sh
.
This will uninstall and remove the old module (if present), and build, upload and install the new module (from the sibling directory).
Note that this script requires htmlq on your machine.
To get a shell in the running OpenCart container, run ./cli.sh
.
Stop the containers, but keep their data:
docker compose stop
Stop and remove the containers and volumes:
docker compose down -v