EDIT: this guy do exactly the same with success, can't figure out why it's not working for me.
I've just installed git
and setup permissions/SSH authentication with public/private key (Centos 6.5). I'm able to pull/push without problems using i.e.:
git clone [email protected]:projects/boilerplate-template
Username is git
, code placed in /home/git/projects
, repository created with git --init --shared boilerplate-template
.
How can I require boilerplate-template
with Bower in another project?
I've tried with the following bower.json file without luck:
{
"name": "my/newproject",
"dependencies": {
"boilerplate-template": "git://code.organization.com:projects/boilerplate-template"
}
}
ECMDERR: Failed to execute "git ls-remote --tags --heads git://code.organization.com:projects/boilerplate-template, exit code 128 unable to lookup code.organization.com (port project)...
Sadly it fails because :project
is not the port but the path. I've also tried with ssh://
instead of git://
:
ENOTFOUND: Package ssh://code.organization.com:projects/boilerplate-template not found.