Skip to main content

Load project

You can create your own project loader. Simply add a bash script here: ./app/.docker-mate/
Some systems also include a load hook.


You always start in the top directory and often need to switch into app. You can also run make commands.


Build css/js yarn

Example uses a build-assets command from your Makefile. Avoids duplicate code.

#!/usr/bin/env bash
cd app || exit 1
composer install

cd theme || exit 1
yarn --frozen-lockfile || exit 1

cd ../../

# Return urls
make build-assets