Page 1 of 1

Composer / Satis Installation

Posted: Sat May 11, 2013 1:42 am
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.

Re: Composer / Satis Installation

Posted: Mon May 13, 2013 2:09 pm
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

Re: Composer / Satis Installation

Posted: Mon May 13, 2013 4:23 pm
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.

Re: Composer / Satis Installation

Posted: Tue May 14, 2013 7:43 pm
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

Re: Composer / Satis Installation

Posted: Tue May 14, 2013 10:37 pm
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.

Re: Composer / Satis Installation

Posted: Wed May 15, 2013 5:10 pm
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

Re: Composer / Satis Installation

Posted: Mon May 20, 2013 6:25 pm
by blackstar
I had already seen that option but it wasn't helpful.
Creating symbolic link was quicker and easier.

Cheers.