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

Documentation improvements #46

Open
hestad opened this issue Nov 3, 2015 · 2 comments
Open

Documentation improvements #46

hestad opened this issue Nov 3, 2015 · 2 comments

Comments

@hestad
Copy link

hestad commented Nov 3, 2015

Firstly, thanks for creating watchmen!

As a node noobie, I would have liked instructions on how to install node in the same way you link to redis. First I tried sudo apt-get install nodejs, but got silent errors when running "node run-monitor-server.js". Then I followed the 5.x instructions here and they worked great: https://github.com/nodesource/distributions#debinstall

Running this on Ubuntu 15.10: git clone [email protected]:iloire/watchmen.git
yields Cloning into 'watchmen'... Permission denied (publickey). I'm kind of a github-noobie as well, so maybe im supposed to connect my github-account key to my git installation or replace it with some username. Still.

The pm2 addition is great, I didn't know of that either =) But: "npm install -g pm2" required sudo for me at least. That's because of the way I installed nodejs 5.x, ending up in /usr/bin/ which is root area.

Lastly I have a question: I just wanted to demo this myself, fiddle around, but I miss some documentation on how to disable auth @ development. I'm using 8080 locally and I don't open that up for the web, so a no-auth-mode would be great! And does other auth-methods like basic auth work? I'm eventually planning to use this on a closed network, without access to the Internet.

Ps. Crossing my fingers for an updated docker-image =)

@iloire
Copy link
Owner

iloire commented Nov 14, 2015

I added the "documentation-help-needed" label in case anyone wants to contribute by adding more detailed docs, but I don't think "how to install node" or "how to work with git" belong here.

Feel free to create a separate issue for the non-auth-mode!

@zarzen
Copy link

zarzen commented Dec 22, 2015

you can use passport to put an admin user in request.
I write a example (but not tested..I will write more concrete example later)
https://gist.github.com/zarzen/2f826171dce1561f2973

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants