Removed Debugging

* Removed Debugging
* Updated Documentation
* Remove Joomla README.txt with finalize script
This commit is contained in:
2023-05-24 10:43:00 -07:00
parent 2ff26f561a
commit db9b3b65b5
6 changed files with 31 additions and 25 deletions

View File

@@ -2,19 +2,28 @@
Joomla CMS.
Make sure the projectName is set correctly, it's very important.
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```
1. cd projectName
1. Setup your .env file ```mv env.sample .env``` then edit with your favorite editor.
1. Prepare your project for git ```bash bin/new_project.sh```
1. Run the containers to initialize ```sudo bash bin/docker_up.sh```
1. Prepare the installer ```bash bin/setup_joomla_installer.sh```
1. Go to ```http://localhost:8000``` and follow the installation steps
1. Manually set Site Meta Description in [Administrator](http://localhost:8000/administrator)
1. cli installer ```bash bin/setup_joomla_installer.sh```
1. Manually set Site Meta Description in [Administrator](http://localhost:8000/administrator/index.php?option=com_config)
1. Run ```sudo bash bin/finalize.sh```
## Working Environment
Let's update our bash_profile with some alias:
```bash
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```
## References
* [Develop a component](https://docs.joomla.org/J4.x:Developing_an_MVC_Component/Developing_a_Basic_Component)
* [Minimal component](https://joomla.stackexchange.com/questions/22176/minimal-basic-structure-for-a-frontend-joomla-component-without-using-joomla-mvc)
* [Joomla CLI Cheatsheet](https://magazine.joomla.org/all-issues/june-2022/joomla-4-a-powerful-cli-application)