-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Start the server? #15
Comments
@Glavin001 hello, I would really like to start and try this project for our markdown docs.. Any help would be appreciated! Thanks |
The Could you run Update: You should see |
Hello, sorry for the delay, here what I came up with:
seems it can't find module: nodegit I tried installing and watched for install process, I see this error: /
> nodegit@0.4.1 install /home/huglester/Projects/pages/node_modules/nodegit
> node lifecycleScripts/install
[nodegit] Fetching binary from S3.
[nodegit] Failed to install prebuilt binary, building manually.
[nodegit] Making sure dependencies are available and native code is generated
[nodegit] Everything is ready to go, attempting compilation
[nodegit] Building native node module.
{ [Error: Command failed: npm WARN prefer global js-beautify@1.5.6 should be installed with -g
npm WARN prefer global pangyp@2.2.1 should be installed with -g
npm ERR! Linux 3.16.0-41-generic
npm ERR! argv "node" "/home/huglester/Projects/pages/node_modules/nodegit/node_modules/.bin/npm" "install" "--ignore-scripts"
npm ERR! node v0.10.38
npm ERR! npm v2.11.2
npm ERR! path /home/huglester/.npm/js-yaml/3.0.1
npm ERR! code EACCES
npm ERR! errno 3
npm ERR! Error: EACCES, mkdir '/home/huglester/.npm/js-yaml/3.0.1'
npm ERR! { [Error: EACCES, mkdir '/home/huglester/.npm/js-yaml/3.0.1']
npm ERR! errno: 3,
npm ERR! code: 'EACCES',
npm ERR! path: '/home/huglester/.npm/js-yaml/3.0.1',
npm ERR! parent: 'coveralls' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! Please include the following file with any support request:
npm ERR! /home/huglester/Projects/pages/node_modules/nodegit/npm-debug.log
] killed: false, code: 3, signal: null }
undefined
debug@2.2.0 node_modules/debug
└── ms@0.7.1 I have also tried removing node_modules/ directory entirely and install with |
I also submitted issue to nodegit. I think it is more their error not GitlabPages? |
Hello, thanks for the help. With the help of DEBUG=* npm install This gave me nice results :) thanks! |
Glad to hear it's working! |
Yeah, it is realy nice, thanks. But strange I am pressing 'Enable' but nothing happens... Are there any pre-requirements for the repo? |
Just that it is configured properly. See https://github.com/Glavin001/GitLab-Pages#step-2-configure-gitlab-pages-server Try running with:
and trace down all of the debug lines and see where it does not work. I would recommend adding some If you are unable to figure out what's not working, please feel free to create a new issue with more information that would allow me help debug with you. |
Hello, thans for help. After some debugging I see, that hooks are beeing added! Now I see that after test pull, I see that content is beeing deployed.. Any idea where to look?:))) |
Try refreshing the webpage. Hopefully it is something as easy as that. If not... 👎 If that does not work then it could be a problem in how the check for if a repository is enabled or not works. Here is the view: https://github.com/Glavin001/GitLab-Pages/blob/master/views/index.handlebars#L13-L17 |
Hello @Glavin001 and thanks for helping :) I have disabled this "IF" https://github.com/Glavin001/GitLab-Pages/blob/master/routes/index.js#L28 Because I have one added 'global' key, for all projeject, for easier pulling of projects. So now it verifies only the 'webhookUrl' - and then shows as Enabled/Disabled. What do you think? What was the main purpose to check if the is deploy key with 'Gitlab Pages'? Thanks |
Deploy keys have only read / pull permissions. GitLab Pages will have it's deploy key that it reuses on any applicable / enabled project. So I think maybe your issue was skipping this step: https://github.com/Glavin001/GitLab-Pages#step-1-create-your-deploy-key-pair |
So you basicly upload this key. and then add this deployment key to every Project. Right? |
Every project enabled for Gitlab pages, yes. — On Mon, Jun 22, 2015 at 4:04 AM, huglester notifications@github.com
|
I think this issue can be closed. What you are describing now is not expected usage of GitLab Pages and/or should be made into another issue if it is still causing problems for you. Thanks! |
Hello,
So I started the server.
The
publicUrl
is set to http://IP:8081But when I go to IP, with port 8081 - I can't see anything, page not found.
Other problem is, that
netstat -na
does not show, that port 8081 is listening.Any ideas? Thank you!
The text was updated successfully, but these errors were encountered: