Skip to content

Local Development

Prereqs

For an easy installation, we assume that you have Docker and Minio installed on the local machine.

(The minio app is installed outside the container to allow for an easy access to the media and to prevent accidental deletion. Of course you may choose a different configuration if desired.)

Recommended tools: vscode, MySQL Workbench, Postman

Installation

Clone the repo to your desired location.

Create a minio bucket "dig" and upload the "app" and "db" folders to it.

See detailed instruction about Minio configuration.

The app folder expect the folders background, carousel and filler to contains images in a particular naming convenstions. See [Add link here]

Workflow

From the project folder, run sail up (Laravel dev server), and sail npm run dev (Vite dev server).

See detailed instruction at the Laravel documentation.

Visit your site at localhost (127.0.0.1)