Please forgive my newbie question but can .htaccess files be used with NodeBB?
I usually enable them via Apache and then place one in my project's root directory but I have no idea where that is with reference to NodeBB.
It looks like rhc app create nodebb nodejs-0.10 command did not create nodebb directory.
Please make sure, that you're running commands on your own computer, not through ssh on OpenShift side.
Try to remove nodebb from your OpenShift account and start from scratch.
Calling git init may seemed like it helped, but it created local only repository, which was not connected with any of the others (OpenShift, NodeBB and openshift-nodebb). That is why git push origin master did not work - origin remote was not configured.
@duke said in How do I configure NodeBB setup for Google Cloud VM?:
If you cannot answer these questions yourself then I suggest you install virtualbox on your local machine and get nodebb working locally but following the docs below. Once you are successful with this, you will have learned alot and can then try and deploy on Google infrastructure.
I know you want to deploy straight to production but my way will be quicker in the long run. The next question you will have will be regarding NGINX and how to get it running on port 80. The answers to all your questions are in the docs. The docs are very easy to follow.
Ubuntu (Recommended) - NodeBB Documentation
I can create the website by using 127.0.0.1 IP but the connection is refused by google's internal IP
(127 is a local ip, you need to provide your internet IP here)
"url": "I typed here my domain which is connected to Google's external IP",
"secret": "the key",
"host": "Google's internal IP", (should be 127.0.0.1)
"port": "I couldnt find this out?", (4567)
"username": "Is this the nodebb user or the user I created for admin database?", (nodebb user)
"password": "Password", (mongo password for Nodebb database)