Giter Site home page Giter Site logo

lithium-nodebb-migrator's Introduction

lithium-nodebb-migrator

A program for migrating data from a Lithium community to NodeBB

running

  1. start nodebb + mongo
  2. ensure nodebb-plugin-write-api is installed
  3. run init script to enable the plugin and set whatever API_TOKEN you have in .env (see config section below)
  4. run desired import scripts
node index.js init
# restart nodebb

node index.js jsonUsers
node index.js nodes

config

You will need to configure this either by setting environment variables, or by having a .env file in the root dir.

LOG_LEVEL=debug

MONGODB=mongodb://localhost:27017/nodebb
ORACLE_USER=my-oracle-user
ORACLE_PASSWORD=i-has-a-sikrit
ORACLE_CLIENT=http://oracle.local:3000

SSO_NAME=my-nodebb
USER_COUNT=10

API_HOST=nodebb.local
API_TOKEN=27bc47fa-1ad6-4f8a-a41c-5ae0984abf45

misc

mysql docs: https://www.npmjs.com/package/mysql

lithium-nodebb-migrator's People

Contributors

ilix avatar believer avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.