Welcome Guest, Not a member yet? Register   Sign In
OK, here we go again: installing using composer?
#4

(This post was last modified: 09-04-2020, 06:32 AM by captain-sensible.)

i don't know if this is superfluous but the way i use composer on LINUX is to download composer.phar

then I :
Code:
# chmod 777 composer.phar

# mv composer.phar  /usr/local/bin/composer

that means that the use of composer.phar is now used linked to "composer" by quoting just composer
and its now accessible to use as normal user not root

eg

$ composer update --no-dev

Also looking at your post it says Created project in /usr/local/bin/CI4
i haven't read all the posts above through obviously being a slackware user ( i'm a lazy slacker)
but i think you alluded thats not a good place .

As i have shown above by making it permission 777 and in /usr/local...you can invoke composer and "$" normal user. For anything , if i understood your post correctly, by the fact it started stuff in /usr/local i'm guessing you were
running composer as "root" which is not necessary.


The appstarter is a good choice i find then i only get one copy of CI4 all within vendor.
Reply


Messages In This Thread
RE: OK, here we go again: installing using composer? - by captain-sensible - 09-04-2020, 06:08 AM



Theme © iAndrew 2016 - Forum software by © MyBB