Also https://docs.nodebb.org/, I added a link to it in the nav bar as well
The new community.nodebb.org theme!
It's called lavender, right? I don't see it in the themes list. Is there a way to install it? Thanks!
npm install nodebb-theme-lavender
Thanks! Are there any other steps in integrating it or will that make it appear as a theme option in example.com/admin/themes?
That should be enough to make it appear in the admin panel, then you have to enable it and restart your instance to see the changes.
We're quite proud of lavender (especially @psychobunny, it's his baby). It's still got some kinks that need resolving, but you should see it as default by v0.3.1
No no, nope. Not my baby. You nibs are just as responsible for bugs as I am kthxbai
Hey, thanks guys! I just did "npm install nodebb-theme-lavender" and restarted the app. When I revisited the page, it was completely unstyled! Here's the error I got:
LESS File error : '../nodebb-theme-vanilla/less/vanilla.less' wasn't found
LESS File : /var/www/forum/node_modules/nodebb-theme-lavender/theme.less 1:0
Hey @aaron -- make sure your other dependencies are also up to date, run a
./nodebb upgradeas well.
Thanks again. How do I do those two things?
./nodebb upgradeshould do the trick
It's just one command
Go to the directory you installed NodeBB in, and run that command exactly as it appears
Hmmm...I did it and everything seemed to upgrade successfully, but when I ran it, installed the theme, restarted it and visited the page, the page had this error:
event.returnValue is deprecated. Please use the standard event.preventDefault() instead.
Uncaught TypeError: Object #<Object> has no method 'toISOString' lavender.js:32
Uncaught SyntaxError: Unexpected token < d.txtsrving.info/?c=VVM6OjoxMDM2OjE1NzEyMDo6&cachebreak=1390424676449&cb=_GPL.dc:1
GET http://forum.figma.com/socket.io/1/?t=1390424722062 socket.io.js:2
That is a recent addition to utils.js are you sure you are on the latest NodeBB code?
Oh I guess not. I'll walk through the upgrade instructions I saw on github. Thanks!
Make sure to make a backup of your database in case something goes wrong.
Thanks. I've got a crontab task backing up everything to an ebs volume every hour.
OK, so I have my remote repository associated with git in my instance directory. When I do "git pull," it pulls from my bitbucket repository. How do I make it pull/integrate the latest nodebb version?
Thanks for the help!
I will let @julian answer that as he is our 'gitmeister' but I think it will be something like
git remote set-url origin <nodebb-git-url>
git remote add upstream [email protected]:designcreateplay/NodeBB.git
Then to get the latest changes from NodeBB:
git fetch upstream
... and put them into your local master branch:
git merge upstream/master master
I just did that and got this error:
$ git remote add upstream [email protected]:designcreateplay/NodeBB.git
Aarons-MacBook-Air-2:old-forum aaronclaytondunn$ git fetch upstream
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.