Skip to content

MacareuxDigital/lagoon-concretecms-base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Concrete CMS Base for lagoon

A template to make Concrete CMS run on Lagoon.

This template includes everything you need to get started with Concrete CMS to run on Lagoon. It was referenced official composer base and community docker image but modified to work with Lagoon.

Included Services

This template includes the following services:

  • Concrete CMS 9.3
  • PHP 8.3 (FPM)
  • Nginx
  • MariaDB 10.6

Local environment setup using pygmy

pygmy is required to run this project locally. You can install it using the following command:

brew tap pygmystack/pygmy && brew install pygmy

After installing pygmy, you can start your local environment using the following command:

pygmy up

If you doesn't have the default ssh key (~/.ssh/id_rsa), you can specify the key file using the following command:

pygmy up --key /Users/your_name/.ssh/custom_key

After starting the pygmy, you need to start the docker containers using the following command:

docker compose up -d

If you want to check the status of the local environment, you can use the following command:

pygmy status

If you want to stop the local environment but do not want to remove it, you can use the following command:

pygmy stop

If you want to stop and remove the local environment, you can use the following command:

pygmy clean

To rebuild the local environment, you can use the following command:

docker compose down
docker compose up -d --force-recreate

How to install Concrete

First, access the cli container using the following command:

docker compose exec cli bash

Then, install Concrete CMS using the following command:

./vendor/bin/concrete c5:install -i

You can use the following information to use in the installation:

Database Value
Database Server mariadb
Database Name lagoon
Database User lagoon
Database Password lagoon

See MariaDB - Environment Variables

About

A template to make Concrete CMS run on Lagoon

Topics

Resources

Stars

Watchers

Forks