Welcome, Guest
Username: Password: Remember me
Got a Joomla problem? Post as much detail about it as you can here to see if you can get a solution.

Help others in the community - post your Joomla tips and how-tos here.

TOPIC: Does anyone use Github for development of their own Joomla projects?

Does anyone use Github for development of their own Joomla projects? 10 months 1 day ago #8130

  • Cameron S
  • Cameron S's Avatar
  • Offline
  • Junior Boarder
  • Posts: 38
  • Thank you received: 6
As a part timer and not a great coder I have finally bitten the bullet and jumped into an extended tutorial course on development with upskillcourses.com/.

i am a third through the Essential Web Developers Course and am finding it really worth while. A hell of a lot more full stack stuff is making sense. The course uses Ruby rather than php which is a shame but many of the concepts are revealing themselves anyway. I did try and skimp using Codeanywhere instead of Cloud9 since i didn't want to hand the credit card over to Amazon but not worth the hassle for someone like me.

Anyway one of the eyeopeners was how much more to Github there is. My question is does anyone use it for developing up their own Joomla projects. Is it worth putting decent time into?
The administrator has disabled public write access.

Does anyone use Github for development of their own Joomla projects? 10 months 1 day ago #8131

  • tuum
  • tuum's Avatar
  • Offline
  • Moderator
  • Posts: 192
  • Thank you received: 60
I use git for all my Joomla extension development. Very powerful when working with a team of people, but still useful when I am the only developer. I prefer to use bitbucket, as they offer free private git repositories, as opposed to github where I think you need to pay for a private repo. I also use sourcetree, which is another atlassian product that allows you to manage git repos in a graphical way. Very handy to switch or merge branches, or to commit changes.

So in summary, its definately worth learning git. Whether you use github, bitbicket or any other git host is really down to personal preference (and budget).

Regards

Tim
Follow me on twitter twitter.com/bfsurvey
The administrator has disabled public write access.
The following user(s) said Thank You: ozneilau, Cameron S

Does anyone use Github for development of their own Joomla projects? 10 months 11 hours ago #8133

  • Cameron S
  • Cameron S's Avatar
  • Offline
  • Junior Boarder
  • Posts: 38
  • Thank you received: 6
Hi Tim,

Thanks for that, I will persist.

Baby steps at the moment but i will definitely check out your other suggestions.

I had tried a few courses before but the Upskill one seems to have hit the right buttons for me. Perhaps one day there might be something similar with php and Joomla for those of us wanting to take it to the next level.

Cheers
The administrator has disabled public write access.

Does anyone use Github for development of their own Joomla projects? 10 months 4 hours ago #8135

  • buipy001
  • buipy001's Avatar
  • Offline
  • Moderator
  • Peter Bui
  • Posts: 111
  • Thank you received: 25
Hey there Cameron

We use git for everything we do, Joomla, WordPress and Laravel etc. All projects run through git and all our developers must be well versed using and managing their code through git. We don't hire anyone that doesn't know the basics.

There are some advance techniques that such as merge conflict management but as a junior or beginner you don't need to worry about it too much. Just be aware of it and know how to get out of conflicts.

This is a good tip: Learn how to use the Joomla .gitignore
github.com/github/gitignore/blob/master/Joomla.gitignore

Really helps with managing your customisations and what you add to the website.

Good luck
Peter Bui

The only limitation is your imagination
pbwebdev.com

Twitter: twitter.com/astroboysoup
Facebook: facebook.com/pbwebdev
The administrator has disabled public write access.

Does anyone use Github for development of their own Joomla projects? 9 months 4 weeks ago #8138

  • Cameron S
  • Cameron S's Avatar
  • Offline
  • Junior Boarder
  • Posts: 38
  • Thank you received: 6
Hi Peter,

Thanks for that.

I suppose it speaks to the strength of Joomla with its ability to allow people like myself to pull together what I feel are reasonable sites without strong coding backgrounds. Up until now I have not found a project that simply using a Siteground staging account wasn't enough. However I am trying to boost the capacity of a number of not-for-profit sites I have developed using Fabrik and the gaps are starting to bite.

Can I ask, do you use Git for coding sections (like an extension) of the project or do you place the whole Joomla install into a repository?

Thanks
The administrator has disabled public write access.

Does anyone use Github for development of their own Joomla projects? 6 months 2 weeks ago #8219

  • buipy001
  • buipy001's Avatar
  • Offline
  • Moderator
  • Peter Bui
  • Posts: 111
  • Thank you received: 25
Sorry it took so long but it wasn't a quick reply.

If you do it right you would segment each part of your project into different git repos to keep things separate.

e.g one repo for the theme, one repo for the custom component you're build and so forth.

You can use a dependency manager to pull in all the different parts and components in your project with the git repo of your custom component and template being part of those dependencies.

github.com/joomlatools/joomlatools-console
With the Joomlatools console you can install your joomla site via the command line. No need to opening this zip file, installing this opening that. Just a couple of command lines and your site is installed.

Once you have that set up, you can use Joomla composer tool to set up the installation of your extensions/dependencies
github.com/joomlatools/joomlatools-composer

A good JSON file with all your custom and third party extensions and it is pretty damn easy to manage and update all your extensions with one command line.

So what you need,

1) set up Joomla via command line
2) Get your composer dependency manager working
3) git repo all of your customisations separately
4) make sure you manage all your code in git

From there you can run all sorts of commands to auto deploy and streamline your development.

Any questions, just ask.
Peter Bui

The only limitation is your imagination
pbwebdev.com

Twitter: twitter.com/astroboysoup
Facebook: facebook.com/pbwebdev
The administrator has disabled public write access.
Time to create page: 0.046 seconds
Powered by Kunena Forum