Hello,
I'm looking for a clarification on the install steps if someone could fill me in ...
The first thing that is not clear to me ... the URL used to access this NodeBB ... I'm installing on a server and not a local machine. So I'm sure I can't accept the default localhost entry. I have set the nodebb directory in the root url - here's an example if I were to type the URL out in a browser ... http://dev.mydevdomain.com/nodebb
When I typed the command ./nodebb setup it was from within the /nodebb directory. With this example, would the URL used to access NodeBB be http//dev.mydevdomain.com (or do I have to indicate the default port as well?)
The next spot I am confused with is regarding the Redis database, I'm assuming the Redis database was installed with the first step in "installing the software stack" but I don't know what the Host IP or address would be other than the IP address of my server. If it's the later, then how would I setup more instances of NodeBB. My first attempt I entered my server IP thinking it would just connect via the default port, but I'm not sure that worked. So the result of the command line that I am posting below is when I just used the default IP (I know it's used for local machines, but didn't know what else to use)
Here's the results I have in the console when trying to run the setup. I used the default values except the URL to access (I have replace actual path and url's with dummy info for this post)
$ ./nodebb setup
24/4 17:58 [15355] - info: NodeBB v0.6.1 Copyright (C) 2013-2014 NodeBB Inc.
24/4 17:58 [15355] - info: This program comes with ABSOLUTELY NO WARRANTY.
24/4 17:58 [15355] - info: This is free software, and you are welcome to redistribute it under certain conditions.
24/4 17:58 [15355] - info:
24/4 17:58 [15355] - info: NodeBB Setup Triggered via Command Line
24/4 17:58 [15355] - info: Welcome to NodeBB!
24/4 17:58 [15355] - info: This looks like a new installation, so you'll have to answer a few questions about your environment before we can proceed.
24/4 17:58 [15355] - info: Press enter to accept the default setting (shown in brackets).
URL used to access this NodeBB (http://localhost:4567) http://dev.mydevdomain.com
Please enter a NodeBB secret (e40b69a0-65ee-4822-8596-63c8471635e9)
Which database to use (redis)
24/4 17:59 [15355] - info: Now configuring redis database:
Host IP or address of your Redis instance (127.0.0.1)
Host port of your Redis instance (6379)
Password of your Redis database
Which database to use (0..n) (0)
24/4 17:59 [15355] - error: Error saving server configuration! EACCES, open '/myserverpath/nodebb/config.json'
24/4 17:59 [15355] - warn: NodeBB Setup Aborted. EACCES, open '/myserverpath/nodebb/config.json'
mycomandprompt/nodebb$
Any help is much appreciated ... Pops