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
- Clone me
git clone git@git.nickyeoman.com:nick/joomla.git projectName
- cd projectName
- Setup your .env file
mv env.sample .env
then edit with your favorite editor. - Prepare your project for git
bash bin/new_project.sh
- Run the containers to initialize
sudo bash bin/docker_up.sh
- cli installer
bash bin/setup_joomla_installer.sh
- Manually set Site Meta Description in Administrator
- 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
- Move to the directory where you would like to keep the component.
cd ~/joomla-components/
- Run component creator from your Joomla install.
bash ~/projects/joomla/projectName/bin/create_component.sh
- Optionally save to git repo.
References
Component
- https://github.com/ceford/j4xdemos-com-mywalks/tree/master
- https://www.abdulwaheed.pk/en/blog/41-information-technology/44-joomla/302-how-to-create-joomla-4-component.html
- https://www.techfry.com/resources/how-to-create-joomla-component
- https://docs.joomla.org/J4.x:Developing_an_MVC_Component/Introduction
- Develop a component
- Minimal component
Description
Languages
Shell
100%