This repository has been archived on 2024-08-09. You can view files and clone it, but cannot push or open issues or pull requests.

Joomla

Joomla CMS.

Make sure the projectName is set correctly, it's very important, because it's used for git, docker, mysql and joomla.

Installation

  1. Clone me git clone git@git.nickyeoman.com:nick/joomla.git projectName
  2. cd projectName
  3. Setup your .env file mv env.sample .env then edit with your favorite editor.
  4. Prepare your project for git bash bin/new_project.sh
  5. Run the containers to initialize sudo bash bin/docker_up.sh
  6. cli installer bash bin/setup_joomla_installer.sh
  7. Manually set Site Meta Description in Administrator
  8. Run sudo bash bin/finalize.sh

Working Environment

Let's update our bash_profile with some alias:

alias joomla='docker-compose exec -u www-data joomla php cli/joomla.php'

Allowing you to just run commands like this:

joomla core:check-updates
joomla site:down
joomla extension:list
joomla update:extensions:check
joomla cache:clean

Create A Component

  1. Move to the directory where you would like to keep the component. cd ~/joomla-components/
  2. Run component creator from your Joomla install. bash ~/projects/joomla/projectName/bin/create_component.sh
  3. Optionally save to git repo.

References

Component

Description
Joomla things
Readme 184 KiB
Languages
Shell 100%