M
M
may-cat2014-03-25 09:26:08
PHP
may-cat, 2014-03-25 09:26:08

How to create a project installer?

Hello.
I am looking for technologies that could facilitate the "deployment" and updates of the basis for the project.
There is an exemplary CMS assembly and a set of modules that developers want to install optionally. For example CMS + advanced forms functionality + some module for working with the console.
It would seem that composer is in a hurry to help, but in our case, the "installation" of the module should be carried out in a variety of CMS folders. As far as I know, composer has a strict rule: one package - one folder. In my case, one package must be scattered over a bunch of folders.
Maybe you can suggest a suitable solution? Reluctance to write a bicycle.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
magic_ball, 2014-03-25
@magic_ball

You can also try phing, it’s a build system, not a dependency manager,
but it won’t fit your request 100%
I’ll even say more - the solution that would suit you does not exist in principle in other languages, so my advice is to choose the easiest one for tool extensions and finish to fit your needs

M
Matvey Kukuy, 2014-03-25
@Matvey-Kuk

I would advise using DEB packages. There is an update out of the box, you can configure the system as you like during installation. But the risk of suffering from hand-to-hand is huge here.
I use the following workflow:
1) Commit to the stable git branch
2) CI automatically picks up a new commit and builds the deb package
3) CI installs the deb package to the package repository
4) The ubuntu test server pulls the update and automatically deploys
5) Testing

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question