Cleaned up the install process down to 5 steps
							parent
							
								
									e17976ef5f
								
							
						
					
					
						commit
						cc74edc3b6
					
				@ -5,43 +5,32 @@ These are the quick start Joomla installation instructions.
 | 
				
			|||||||
Make sure the projectName is set correctly, it's very important, because it's used for git, docker, mysql and joomla.
 | 
					Make sure the projectName is set correctly, it's very important, because it's used for git, docker, mysql and joomla.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```bash
 | 
					```bash
 | 
				
			||||||
# STEP 1
 | 
					# STEP 1 - Setup Files
 | 
				
			||||||
# Clone the repo (change projectName to the name of your project)
 | 
					# Clone the repo (change "YourProjectName" to the name of your project)
 | 
				
			||||||
# Context: I like to name my projects by domain, example: nickyeoman-com
 | 
					# Context: I like to name my projects by domain, example: www-4lt-ca
 | 
				
			||||||
git clone git@git.4lt.ca:nick/joomla.git projectName
 | 
					# We then generate a env file based on the project name
 | 
				
			||||||
 | 
					export PROJECTNAME='YourProjectName'
 | 
				
			||||||
 | 
					git clone git@git.4lt.ca:nick/joomla.git $PROJECTNAME;  cd $PROJECTNAME; bash bin/generate_env.sh $PROJECTNAME
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# STEP 2
 | 
					# now ensure that the .env file is to your preferences
 | 
				
			||||||
# Move into the dir
 | 
					# if you are using GITEA and want to auto create the repo, add your GITEA API information to the env file
 | 
				
			||||||
cd projectName
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
# STEP 3
 | 
					# STEP 2 - Git work
 | 
				
			||||||
# Setup your env file
 | 
					# Removes Joomla git info that you cloned. Sets up a new repo. If you have set gitea api, creates private repo on remote.
 | 
				
			||||||
cp env.sample.txt .env; cp env.sample.txt .env.staging
 | 
					 | 
				
			||||||
# edit your file with any text editor (I use vim)
 | 
					 | 
				
			||||||
vi .env
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# STEP 4
 | 
					 | 
				
			||||||
# Prepare your project for git 
 | 
					 | 
				
			||||||
bash bin/joomla_new_project.sh
 | 
					bash bin/joomla_new_project.sh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# STEP 5
 | 
					# STEP 3
 | 
				
			||||||
# Run the containers to initialize 
 | 
					# Run the containers to initialize 
 | 
				
			||||||
sudo docker-compose -f docker-compose.yml -f docker-compose.staging.yml --env-file .env.staging up -d
 | 
					sudo docker-compose -f docker-compose.yml -f docker-compose.staging.yml up -d
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# STEP 6
 | 
					# STEP 4
 | 
				
			||||||
# Run the Joomla cli installer (Gotcha: wait until Joomla is up)
 | 
					# Run the Joomla cli installer (Gotcha: wait until Joomla is up by checking http://localhost:8000/)
 | 
				
			||||||
sudo bash bin/joomla_install.sh
 | 
					sudo bash bin/joomla_install.sh
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# STEP 7
 | 
					 | 
				
			||||||
# Manually set Site Meta Description in [Administrator](http://localhost:8000/administrator/index.php?option=com_config)
 | 
					# Manually set Site Meta Description in [Administrator](http://localhost:8000/administrator/index.php?option=com_config)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Step 8
 | 
					# Step 5
 | 
				
			||||||
# Install Components
 | 
					# Install Components and run clean up
 | 
				
			||||||
sudo bash bin/install_extensions.sh
 | 
					sudo bash bin/install_extensions.sh; sudo bash bin/joomla_cleanup.sh
 | 
				
			||||||
 | 
					 | 
				
			||||||
# Step 9
 | 
					 | 
				
			||||||
# Clean up and Config (This can be re-run)
 | 
					 | 
				
			||||||
sudo bash bin/joomla_cleanup.sh
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user