It is currently Fri Jan 15, 2021 10:42 pm
All times are UTC + 8 hours

Composer / Satis Installation

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

Composer / Satis Installation

Postby blackstar » Sat May 11, 2013 1:42 am

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

Thanks.
blackstar
 
Posts: 59
Joined: Thu Apr 25, 2013 3:37 am

Re: Composer / Satis Installation

Postby James.W@AST » Mon May 13, 2013 2:09 pm

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 6907 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
User avatar
James.W@AST
 
Posts: 189
Joined: Wed Jun 06, 2012 12:50 am

Re: Composer / Satis Installation

Postby blackstar » Mon May 13, 2013 4:23 pm

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.
blackstar
 
Posts: 59
Joined: Thu Apr 25, 2013 3:37 am

Re: Composer / Satis Installation

Postby James.W@AST » Tue May 14, 2013 7:43 pm

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
User avatar
James.W@AST
 
Posts: 189
Joined: Wed Jun 06, 2012 12:50 am

Re: Composer / Satis Installation

Postby blackstar » Tue May 14, 2013 10:37 pm

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.
blackstar
 
Posts: 59
Joined: Thu Apr 25, 2013 3:37 am

Re: Composer / Satis Installation

Postby James.W@AST » Wed May 15, 2013 5:10 pm

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
User avatar
James.W@AST
 
Posts: 189
Joined: Wed Jun 06, 2012 12:50 am

Re: Composer / Satis Installation

Postby blackstar » Mon May 20, 2013 6:25 pm

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

Cheers.
blackstar
 
Posts: 59
Joined: Thu Apr 25, 2013 3:37 am

Return to Web Hosting

  • You cannot post new topics in this forum
    You cannot reply to topics in this forum
    You cannot edit your posts in this forum
    You cannot delete your posts in this forum
    You cannot post attachments in this forum
  • Who is online

    Users browsing this forum: No registered users and 1 guest