Joomla things
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.
Go to file
2023-06-06 19:01:24 -07:00
bin installs to project directory now 2023-06-06 19:01:24 -07:00
docs manifest and language is working so far 2023-05-31 12:25:05 -07:00
html Script creates a gitea repo if provided 2023-05-20 09:54:23 -07:00
php build component works, php ini fixed 2023-05-31 16:57:49 -07:00
docker-compose.yml still not working 2023-06-01 08:20:10 -07:00
env.sample Working on component creator 2023-05-26 14:19:20 -07:00
README.md working now 2023-06-06 01:58:54 -07:00

Joomla

Joomla CMS.

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

Quick Installation

# STEP 1
# Clone the repo (change projectName to the name of your project)
git clone git@git.nickyeoman.com:nick/joomla.git projectName

# STEP 2
# Move into the dir
cd projectName

# STEP 3
# Setup your env file
mv env.sample .env
vi .env

# STEP 4
# Prepare your project for git 
bash bin/new_project.sh

# STEP 5
# Run the containers to initialize 
sudo bash bin/docker_up.sh

# STEP 6
# Joomla cli installer 
sudo bash bin/setup_joomla_installer.sh

# STEP 7
# Manually set Site Meta Description in [Administrator](http://localhost:8000/administrator/index.php?option=com_config)

# Step 8
# Clean up and Config
sudo bash bin/finalize.sh

Development 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.
  4. build the zip file by running bin/build_component.sh

References

Component