Open hestad opened 8 years ago
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!
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
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 git@github.com: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 =)