cancel
Showing results for 
Search instead for 
Did you mean: 

Install/ Upgrade a plugin using GitHub

SOLVED

Install/ Upgrade a plugin using GitHub

Hello.

 

I would like to know the right way to install/ upgrade plugins using GitHub.

 

The customer has one testing site and one live site. When we change theme files we copy the files using GitHub.

 

However I wonder if we should copy the files when we install/ upgrade a plugin on the testing site, then copy them onto the live site over GitHub?

 

We have Magento Connect we can use, after installing/ upgrading with Magento Connect, then we are not able to copy the related files (such as customised css files, phtml files) to live site any more?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Install/ Upgrade a plugin using GitHub

Hi @tvgarden

You can create a new git repo on GitHub.

On the first time, you can pull and commit all your files there.
Then you can commit and push regularly as you add/update any files on the github repo.

In your case, you need to take pull first and then commit and push your changes to repo after changes on staging. Then you can pull on live using same repo. In this case you report will always up to date.



For GITHUB document:
https://help.github.com/en/articles/create-a-repo

For GIT document:
https://rogerdudler.github.io/git-guide/

There are also lot of GUI tool for GIT management:
https://git-scm.com/download/gui/windows

View solution in original post

1 REPLY 1

Re: Install/ Upgrade a plugin using GitHub

Hi @tvgarden

You can create a new git repo on GitHub.

On the first time, you can pull and commit all your files there.
Then you can commit and push regularly as you add/update any files on the github repo.

In your case, you need to take pull first and then commit and push your changes to repo after changes on staging. Then you can pull on live using same repo. In this case you report will always up to date.



For GITHUB document:
https://help.github.com/en/articles/create-a-repo

For GIT document:
https://rogerdudler.github.io/git-guide/

There are also lot of GUI tool for GIT management:
https://git-scm.com/download/gui/windows