Test NodeBB 0.7 simulatenously?
-
Is it possible to test the master on another domain (e.g.,
beta.domain.com
) for my users to test out?I was considering cloning it into another directory, without plugins, and hooking it up to the same Redis database with a different port, and proxying the sub domain to the new version. Thoughts?
-
Yeah, clone the db and copy the files. Edit configfile to beta.domain.com and change db settings
I use Mongodb but it should be the same
Do not use 0.7.x with the same db because 0.7 trash stuff, better with a clone. You can write "this is for demo only"
I am also waiting for 0.7.x to be stable!
-
This occurs on the last part of running
./nodebb setup
:2/4 15:41 [1171] - info: Configuration Saved OK [email protected] node_modules/redis [email protected] node_modules/connect-redis āāā [email protected] ([email protected]) 2/4 15:41 [1171] - info: Populating database with default configs, if not already set... 2/4 15:41 [1171] - info: Previous theme detected, skipping enabling default theme 2/4 15:41 [1171] - info: Categories OK. Found 13 categories. 2/4 15:41 [1171] - info: Administrator found, skipping Admin setup 2/4 15:41 [1171] - info: Enabling default plugins 2/4 15:41 [1171] - warn: NodeBB Setup Aborted. Error: WRONGTYPE Operation against a key holding the wrong kind of value at ReplyParser.<anonymous> (/home/user/node7/node_modules/redis/index.js:305:31) at ReplyParser.emit (events.js:95:17) at ReplyParser.send_error (/home/user/node7/node_modules/redis/lib/parser/javascript.js:296:10) at ReplyParser.execute (/home/user/node7/node_modules/redis/lib/parser/javascript.js:181:22) at RedisClient.on_data (/home/user/node7/node_modules/redis/index.js:534:27) at Socket.<anonymous> (/home/user/node7/node_modules/redis/index.js:91:14) at Socket.emit (events.js:95:17) at Socket.<anonymous> (_stream_readable.js:764:14) at Socket.emit (events.js:92:17) at emitReadable_ (_stream_readable.js:426:10)
-
Why do you run setup again.
- Just copy the code to a new dir and change the config file.
- Make a copy of the DB
- Then git checkout master + ./nodebb upgrade (In the new setup)
Dont forget to set another port if you running it on the same server
Copyright Ā© 2024 NodeBB | Contributors