Your SlideShare is downloading. ×
Deploying Joomla sites with GIT
Deploying Joomla sites with GIT
Deploying Joomla sites with GIT
Deploying Joomla sites with GIT
Deploying Joomla sites with GIT
Deploying Joomla sites with GIT
Deploying Joomla sites with GIT
Deploying Joomla sites with GIT
Deploying Joomla sites with GIT
Deploying Joomla sites with GIT
Deploying Joomla sites with GIT
Deploying Joomla sites with GIT
Deploying Joomla sites with GIT
Deploying Joomla sites with GIT
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Deploying Joomla sites with GIT

933

Published on

First presented at Joomla World Conference 2013 this presentation talks about using GIT to deploy Joomla websites

First presented at Joomla World Conference 2013 this presentation talks about using GIT to deploy Joomla websites

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
933
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
6
Comments
0
Likes
2
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Deploying Joomla sites with GIT Ashwin Date CTO, Techjoomla Director, Tekdi Web Solutions @coolbung | @techjoomla www.techjoomla.com
  • 2. My Joomla! connection ● 5-star personality on the Joomla Forum ● Started using Joomla since Mambo days ● Started on development work since Joomla 1.0
  • 3. What is the presentation about ? ● GIT - Replacement for FTP ● Not the only way, just a guideline ● My learning on the way ● Looking out for more ideas!
  • 4. Why GIT ? ● Distributed, unlike SVN ● Developers can work locally and commit changes ● Finally merge remote changes with their own
  • 5. Replacement for FTP ● Work locally and commit files ● And then commit some more ● Once happy tag your repo ● Push the tag ● Pull the tag on the remote server
  • 6. But why GIT ? ● You overwrote my changes! ● Something happened and the site crashed!
  • 7. Setting Up ● Plan your site ● Decide on the extensions to be used beforehand ● Putting the entire Joomla in GIT ● Then put the extensions in ● Gives a reference – starting point
  • 8. Working with Joomla / Extensions ● Developers can work locally and commit changes ● Merge remote changes with their own ● Each application version is tagged ● Tags used to pull & deploy a version to staging/production
  • 9. Doing the Deployment ● Server has a clone of the repository ● Pull the latest changes ● Checkout the tag ● Copy tag files to httpdocs-<tag> ● Symlink your httpdocs to httpdocs-<tag>
  • 10. Doing the Deployment ● In case of a problem, easily roll back to last version, since each version is just a symlinked folder ● Write a small .htversion file to your Joomla root. Can be used to display application version
  • 11. Managing Upgrades ● Perform upgrade on development clone ● Push updated files ● Perform the deployment as usual
  • 12. Careful! ● Installing new extensions ● Managing configurations ● Handling database changes ● Document manual changes needed in all the versions
  • 13. Automation ● Script to perform deployments - https://github.com/techjoomla/Joomla-Extensions/tree/master/scripts
  • 14. Thank You Ashwin Date Twitter : @coolbung / @techjoomla Email : ashwin@techjoomla.com http://www.slideshare.net/coolbung

×