10
Let me explain the question. I would know the answer if the question were:
"Como instalar as dependências de um projeto Laravel usando Composer?"
In the world of PHP, using Composer, we can create a project from a ready-made skeleton using the command composer create-project
. In the case of framework Laravel, we can create a project with the command:
composer create-project laravel/laravel
Similarly, in the world of front-end, using Mimosa, we can create a project from a ready-made skeleton using the command mimosa skel:new
. In the case of framework Durandal, we can create a project with the command:
mimosa skel:new durandal
In both cases, the "skeleton" is obtained from a repository (in Github or another place) duly registered (in Packagist or another place), and then dependencies are automatically processed and installed.
But when copying the project elsewhere, we don’t copy the whole paraphernalia of the dependencies together (the folder vendors
or equivalent). We copy only the project files. (There is a .gitignore
that leaves this paraphernalia out of commits.)
Well: with the project copied to another location, in the case of Composer, the command to make it usable is:
composer install
This is the command that create-project
runs automatically after getting the skeleton.
My question is: what command to install the dependencies of a project in the case of Mimosa? What is the command that is executed automatically after obtaining the skeleton? What I need to run on my copy to match the original, after skel:new
?
Use the
MooTools
to issue a Mugido and attract theMimosa
, wait for it to reach you. After that, ask it to install the dependencies ofDurandal
.– Paulo Roberto Rosa