BenLubar / nodebb-plugin-import-discourse

5 stars 3 forks source link

Working with non docker install ? #7

Open jffz opened 8 years ago

jffz commented 8 years ago

Hi, I'm using the buitlin nodebb install (without docker), do you have a documentatino for my case ?

akhoury commented 8 years ago

@jffz whenever you see a

docker exec -ti wtdwtf-nodebb npm install whatever

in your case it's just an npm install whatever

Or

docker stop/run

in your case it's just an ./nodebb stop, or ./nodebb start or ./nodebb restart

Actually, in that google document anything before this section:

Discourse-to-NodeBB import (Docker)

is just NodeBB setup really ....

Just follow this, https://nodebb.readthedocs.io/en/latest/installing/os.html for your NodeBB setup, then follow whatever is after that section I mentioned above till you get to this line.

After the import is finished, deactivate nodebb-plugin-import and activate all other plugins. Reload and refresh

I wouldn't follow that google doc exactly, it does have some stuff that's specific to the TDWTF forum, so I would read it carefully, and see what it's doing,

if you need help using the Importer, file an issue here

akhoury commented 8 years ago

Also, read the comments on the right side of that google document, at least my comments.

jffz commented 8 years ago

Looking at it, i posted an issue on the plugin's github

jffz commented 8 years ago

Currently following the guide, i don't understand a thing in it, what should i set for this step ?

n the exporter specific configs section, put the connection string for Community Server’s database wrapped in JSON, like {"cs":"connection string goes here"}. If you are doing an incremental import, you can use {"skip_cs":true} to skip the Community Server section of the import. There are other keys that will let you skip even more of the import when doing an incremental import. A list of them is at the top of index.js.
BenLubar commented 8 years ago

@jffz you can safely ignore that. That was for TDWTF's customized version of the plugin that imported two forum databases at once.