![]() |
|
Development of a new theme using remote git - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Themes (https://forum.zenphoto.org/forum-5.html) +--- Thread: Development of a new theme using remote git (/thread-13274.html) |
Development of a new theme using remote git - davidarnoult - 11-02-2019 Hi! I would like to create a new theme forked from zpBootstrap @vincent3569 and why not share it. I would like to setup a git architecture in order to pull latest zenphoto and zpBootstrap repos, modify the forked version locally then push on my remote git server connected to a dev host, then push it to a prod branch on same server. But I do not know how to integrate all of that. I use IDE PhpStorm 2019. Can you help me? What is the best way to implement these mechanisms? I know svn but git is definitely the best now. Thank you for your help. David Development of a new theme using remote git - acrylian - 12-02-2019 We appreciate new themes especially from third parties! We're using Git via GitHub and pretty straightforward. Generally if you create a repo or a fork repo from another you do check out it locally normally anyway and push back your changes to that remote repository. Isn't that basically what you like to do? GitHub has good documentation of all these things. We're doing all development work locally in a MAMP setup that way. I am using Netbeans btw and a separate Git client named SourceTree and GitHubs Desktop for checking out repos locally. Development of a new theme using remote git - vincent3569 - 12-02-2019 my experience: I use Github Desktop (https://desktop.github.com/) I also made a fork of zenphoto (called zenphoto-dev) because I use personnal hacks of the core (I haven't push them to github and I use these hacks locally). Sometimes I also push pull request to zenphot team as contributor. as I don't have a local server, I manage all files locally, and export theem with ftp on a prod or test server. Development of a new theme using remote git - davidarnoult - 18-01-2021 Hello @vincent3569 and @acrylian Happy New Year! Thanks for your feedback. I come back to you with more ideas. I am used to svn for many years and I am learning git as it is definitely the standard today. After analysing my need, I would like to go further by deploying a real environment on a private VM to host to a staging and production live web site. The idea is to use git to merge between dev and production branches on 2 different vhosts. Some first clues to do that What would you think about that? Do you have any experience in this field? Where do I could find more resources to achieve this? Thanks ;-) Development of a new theme using remote git - acrylian - 18-01-2021 I am sorry, I have no experience in this area. I/we use GitHub in relative plain way just with local installs for testing and local repositories (on the ZP dev the local install is basically even the repository to avoid manual copying back and forth) from where changes are committed. I don't use the command linebut a free client for mac named SourceTree. Only for checkout locally I use the official GitHub client. Development of a new theme using remote git - davidarnoult - 19-01-2021 Thanks for detailing your process... |