Composer / Satis Installation

Web hosting, MySQL, PHP and all that good stuff.

Moderator: Lillian.W@AST

Post Reply
blackstar
Posts: 59
youtube meble na wymiar Warszawa
Joined: Thu Apr 25, 2013 3:37 am

Composer / Satis Installation

Post by blackstar »

Hi,
Could we get a tutorial on how to install composer on the nas in order to create a satis repository virtual host

Thanks.
User avatar
James.W@AST
Posts: 189
Joined: Wed Jun 06, 2012 12:50 am

Re: Composer / Satis Installation

Post by James.W@AST »

Hi there,

Sorry I have never used this before. Do you mean this one?
https://github.com/composer/satis

If so, I just followed the below installation instruction, and it seems to work ok.
https://github.com/composer/satis/blob/master/README.md
Attachments
composer.jpg
composer.jpg (177.53 KiB) Viewed 10517 times
To Infinity and Beyond!

Friends of My AS-606T: (RAID 5 with WD Black 2TB * 4, WD Red 2TB * 2)
MacBook Air (10.8) & Self-assembled Windows PC (Windows 7)
iPhone 4S (iOS 6) & iPad 2 (iOS 6)
Boxee Box, Logitech Squeezebox Duet
SONY HT-CT150 Sound Bar (Connected directly to the NAS via HDMI)
CISCO Linksys E4200
blackstar
Posts: 59
Joined: Thu Apr 25, 2013 3:37 am

Re: Composer / Satis Installation

Post by blackstar »

Ah ok cool.
Wasn't sure the installation of compsoer would go through since there are some things that we aren't able to do.
But if it works it's perfect.

Thanks.

[EDIT]
Just stumbled upon the packagist installation tutorial (https://github.com/composer/packagist).
Packagist requires a solr installation. Is this possible on the asustor ?
Thanks.
User avatar
James.W@AST
Posts: 189
Joined: Wed Jun 06, 2012 12:50 am

Re: Composer / Satis Installation

Post by James.W@AST »

Hi there,

Like I said, I am not familiar with this at all....but I took a look at it today and found a tutorial here:
http://lucene.apache.org/solr/4_3_0/tutorial.html

I just follow the steps (need to install the Java app first) and I can run solr on my NAS. But I haven't gone through the details though.

Anyways, this is just for your reference :)

JW
To Infinity and Beyond!

Friends of My AS-606T: (RAID 5 with WD Black 2TB * 4, WD Red 2TB * 2)
MacBook Air (10.8) & Self-assembled Windows PC (Windows 7)
iPhone 4S (iOS 6) & iPad 2 (iOS 6)
Boxee Box, Logitech Squeezebox Duet
SONY HT-CT150 Sound Bar (Connected directly to the NAS via HDMI)
CISCO Linksys E4200
blackstar
Posts: 59
Joined: Thu Apr 25, 2013 3:37 am

Re: Composer / Satis Installation

Post by blackstar »

Hi,
Thanks I'll read this asap. Will most likely find some use for it later on even if it may not be for a packagist install.

I did run into a tiny issue though which calling git using composer. Indeed, I saw in another post that git-upload-pack and git-receive-pack aren't in the usual path.
I made the changes that were suggested to make it work for a simple app.
However there seems to be a problem when composer calls the git repository to fetch a dependency, I think it's looking for the git-upload-pack in the "usual" directory and can't find it.
I'm afraid I'll have the same issue with the satis installation

Is there no risk in making a simple symbolic link for both upload and receive packs ?
Or is there a way to make available in the $PATH environement variable (or equivalent on ASUSTOR) ?

I wouldn't want to do something unnecessary if there's another way to go...

Thanks for any help you could provide.

Cheers.
User avatar
James.W@AST
Posts: 189
Joined: Wed Jun 06, 2012 12:50 am

Re: Composer / Satis Installation

Post by James.W@AST »

Hi there,

Basically making symbolic links shouldn't cause any problems.

Sorry I don't use git very often, will this help?
http://www.twohard.com/blog/remedy-git- ... ited-acces
To Infinity and Beyond!

Friends of My AS-606T: (RAID 5 with WD Black 2TB * 4, WD Red 2TB * 2)
MacBook Air (10.8) & Self-assembled Windows PC (Windows 7)
iPhone 4S (iOS 6) & iPad 2 (iOS 6)
Boxee Box, Logitech Squeezebox Duet
SONY HT-CT150 Sound Bar (Connected directly to the NAS via HDMI)
CISCO Linksys E4200
blackstar
Posts: 59
Joined: Thu Apr 25, 2013 3:37 am

Re: Composer / Satis Installation

Post by blackstar »

I had already seen that option but it wasn't helpful.
Creating symbolic link was quicker and easier.

Cheers.
Post Reply

Return to “Web Hosting”