Proper Path to install on Digital Ocean Server with Preexisting Ghost Install
-
I just want to check as I'm not super tech savvy: what is the proper path to install NodeBB (currently running ghost) such that I will end up at http://<ip address>/forums ? Do I point this to .../forums at the last step of the install? Or do I point this to http://<ip address>, and later direct <ipaddress>:4567 to sitename.com/forums? Thanks in advance.
-
@casey-mcnamara There's no specific place that NodeBB needs to live in, it is a standalone program.
You could install it in any of these places:
- /home/yourusername/nodebb
- /opt/nodebb
- /home/yourusername/something/else/nodebb
The
/forum
subfolder installation is specified in your proxy settings and in the NodeBB configuration itself. During installation, put the base url as:http://<ip address>/forums
-
@julian Thanks for the response. I think it makes sense - I was just questioning as this is what I tried last night and had some issues. You're saying that in the last installation step (per these instructions http://burnaftercompiling.com/nodebb/setting-up-a-nodebb-forum-for-dummies/ ) where we specify http://<ip address>, I should use http://<ipaddress>/forum instead?
-
yup, that's right. how did it work out?
-
Still not working - I think ghost is looking for a static page created in ghost (since <ip address> goes to ghost). Maybe if I created forum.<ipaddress>?
-
Though the config.js shows the relative path correctly. Is there an additional redis step? If users typically need to include the port (i.e. <IP Address>:4567 , what would be the exact reference for this forum?)
"upload_path": "/public/uploads",
"relative_path": "/forum" -
But you wouldn't want your users to have to access the site by appending the port number to the domain name.
What type of installation are you attempting? In a subdomain (forum.yoursite.com), subfolder (yoursite.com/forum) or standalone (yoursite.com)?
-
@planner I'm open to either a subdomain or a subfolder (I was attempting a subfolder).
-
So is it working?
-
@planner - Nope. Not yet. I may try: 1) change to subdomain instead in the config file, and 2) upload on a 32 bit version of ubuntu (I did read that we weren't sure if 64 bit worked).
-
(I did read that we weren't sure if 64 bit worked)
Where did you get that info about the 64-bit version of Ubuntu not working?
-
@planner I believe some comment on an installation instructions blog post questioned whether or not nodebb would compile on 64bit. Is this verified incorrect?
-
Well, my installation is running in a subdomain of a WP site running on a 64-bit Ubuntu 13.10. And I've not heard any comment from the devs regarding this.
-
@planner ok - thanks for that confirmation. I'll rule that out as the issue then.