php - Satis Composer Repository Installation -


i new satis , found tutorial: https://getcomposer.org/doc/articles/handling-private-packages-with-satis.md.

but still can't myself started. satis installed project based? if so, mean have install satis on every new project?

i tried run composer.phar create-project composer/satis --stability=dev folder , error message saying composer.phar not found. so, try composer create-project composer/satis --stability=dev , create new folder called satis inside folder run composer.

so, how install satis , use it? know video tutorial teach on this? can't find on youtube.

thank you.

after download satis, need create config json file location towards repositories. name whatever like. after that, execute bin/satis command create web viewer. like

php bin/satis build mi-config.json web/ 

if latter command works have configured correctly satis server. then, need include repositories source in main composer.json file:

"repositories": [     {         "type": "composer",         "url": "http://localhost/satis/web"     } ], "require": {     "my/package: "*" }, 

something noticed in question:

i tried run composer.phar create-project ...

i error message saying composer.phar not found. so, try composer create-project...

you don't need install composer on every project on server works every project long move shared route (as documentation says aka /usr/local/bin/composer - without phar extension). keep in mind first example in case have composer in project root (with full name , extension) , second tries use composer located in user/local path.

it's not video hope helps regards


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -