Skip to content

Latest commit

 

History

History
43 lines (27 loc) · 1.01 KB

DEVELOPMENT.md

File metadata and controls

43 lines (27 loc) · 1.01 KB

Development Guide

A Docker Compose development setup is available, based around the bitnami/opencart image.

Starting Up

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

Installing the Module

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.

CLI in Docker

To get a shell in the running OpenCart container, run ./cli.sh.

Shutting Down

Stop the containers, but keep their data:

docker compose stop

Stop and remove the containers and volumes:

docker compose down -v