0

I have an adminControl project in a repository. This adminControl is an open source project and has the ability to perform all dynamic CRUD operations integrated in a beautiful UI and can fit into any project that runs PHP MySQL database depending on the parameters set.

Now i want to start creating different websites, say blog, media, company, schools, you name it. Each of these websites would be a git repo on their own and the each of them would have the adminControl project in them to manage all admin functions of each website.

Also i want all developers working on each of these projects to keep improving on the functionality and power of the adminControl project in their individual projects/repos/websites such that once they commit their changes, it'll also affect the main adminControl repo so that other project can pull the updates.

Is this possible ?

marc_s
  • 732,580
  • 175
  • 1,330
  • 1,459
Clinton
  • 31
  • 4
  • PHP and MYSQLI hae nothing to do with this question. Please keep you Tags relevent to the actual question – RiggsFolly Jan 31 '20 at 14:27
  • 1
    Does this answer your question? [How do I work with a git repository within another repository?](https://stackoverflow.com/questions/1811730/how-do-i-work-with-a-git-repository-within-another-repository) – Arun A S Jan 31 '20 at 14:29
  • 1
    Look into Composer. Your adminControl would not be a part of your project’s history, but would be managed separately for both development and production. Thus pushing to production becomes a two-step process if you normally use a post-receive hook to checkout the remotes branch. – Tim Morton Jan 31 '20 at 14:34
  • git submodules? – fireb86 Jan 31 '20 at 16:32
  • Let me check out Arun A S suggestion above – Clinton Feb 04 '20 at 01:30

0 Answers0