Today i updated my forum to v1.12.0 and i found the menu 😉
I think it works too before the update. A user problem 🙂
I maintain a git repo for our forum that contains our NodeBB install along with ops scripts, package.json with our required plugins, readme files, etc.
The issue i have is when we go to upgrade its a very manual process of removing the old files, downloading the new files, only pasting over the ones we need and merging the package.json.
I'm sure i'm not the only one doing this and am interested if anyone has come up with a decent solution? or script to automate it a bit more? that i could base my own off.
./nodebb upgrade？That could help.
@jiangcaiyang +1 on that
Other system task may be fixed with simple bash scripts. The terminal is your friend
./nodebb upgrade updated the dependencies, but that is not my issue the issue is updating the core files and merging my package.json with nodebbs.
@Jenkler That's what I will probably end up doing I already have deployment scripts I was just hoping someone else had done it and could save me some work
@louisemcmahon something like this can work okay:
Have two git remotes:
git remote rm origin git remote add origin https://github.com/nodebb/nodebb.git git remote add fork https://example.com/your/repo.git
Then you can used these named remotes for updating / pushing like so:
# pull and merge latest changes from NodeBB git pull origin # push latest changes to your repo git push fork
That will make updating things easier.