Skip to content
This repository has been archived by the owner on Apr 26, 2021. It is now read-only.

docs: How to initialize git repo created by gandalf #188

Open
marioidival opened this issue Mar 14, 2015 · 1 comment
Open

docs: How to initialize git repo created by gandalf #188

marioidival opened this issue Mar 14, 2015 · 1 comment
Assignees

Comments

@marioidival
Copy link

Well, follow the tutorial that exists in QuickStart to run Gandalf.

All url's that exist in this tutorial is working, but when I try to do this:

$ mkdir myproject
$ cd myproject
$ git init
$ git remote add gandalf git@localhost:myproject.git
$ touch README
$ git add .
$ git commit -m "first commit"
$ git push gandalf master

raise this:

marioidival@MacBook-Air-de-Mario:~/Development/myproject(master○)
» git push gandalf master
ssh: connect to host localhost port 22: Connection refused
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

I watched the collections created and are working properly, including the key ssh.
And in /tmp/repositories/ the myproject was created

@scorphus
Copy link
Contributor

@marioidival If you'd like to use Gandalf SSH wrapper, you need to set it up in /etc/gandalf.conf. You also need a SSH server running on port 22 (or on any port you define in the config). Also make sure you have a git user with rw access to those repositories. I'll revise the docs and cover this if it's not so.

@scorphus scorphus self-assigned this Mar 16, 2015
@scorphus scorphus changed the title Question: How to initialize git repo created by gandalf docs: How to initialize git repo created by gandalf Mar 16, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants