@anirban-dutta I use command like this npm install git+https://github.com/me-cooper/nodebb-plugin-makesmart-gallery.git when repo is not recognized by npm install
Just remember to add .git at the end of github repo url.
I have installed NodeBB on Heroku. When I install and Activate the FB SSO plugin from plugins, I get no error. So, everything seems to be fine. But then nothing appears on the Login/Register page.
Am I missing something?
Thanks.
Have you gone into the admin control panel and entered in your Auth token and secret key that you got from Facebook?
On the left sidebar on Admin control panel, Facebook appeared once under social plugins and it showed an error page when I clicked on it. I uninstalled it and now when I install it, reset NodeBB, and the plugin does not appear on control panel anymore, and when I go back to the plugins page, Facebook is not installed!
Well, now Facebook appears under Social Plugins. But when I click on it, this is the error I get:
Not Found
You seem to have stumbled upon a page that does not exist. Return to the home page.
Strange, this plugin is confirmed working in the latest nodebb, can you restart nodebb again, clear your cache, and log back in to your admin panel and try again, when you see the following, you're all set to go.
Ok, the problem with installation is the Ephemeral File System of Heroku. So, when after install, I actually reset the server, the plugins that are installed through the Control Panel get deleted. Solution: I installed it locally and added to package.json file. Then pushed it to server and now I get to see this dialog where I entered App ID and App Secret. Saved and restarted. But still I can not see anything in the login/register page to login with FB.
@navid go back to where you entered the app ID and secret, make sure they're still there, I've had the odd quirk of it not saving 100% of the time. Also make sure you've got no spaces in the fields. Once the id and secret look right, the icon will appear to the right of your login box.you won't need to restart nodebb for this bit, but make sure you're not viewing a cached page.
It was not empty. But now it is working. It seems that restarting the Heroku server manually helped.
Thanks!
@navid good stuff.
I just filed an issue with some of the problems I had to get NodeBB run on Heroku. Overall, it was not hard, but some clarifications could save time. I just documented the problems that I faced: https://github.com/NodeBB/NodeBB/issues/1714
@navid you can submit a pull request here to alter the documentation if you like.
https://github.com/NodeBB/NodeBB/blob/master/docs/installing/heroku.rst