Skip to content

arkenrealms/shifter

Repository files navigation




Arken Shifter is a free and open source db migration tool

Build Status Github Tag Discord


Introduction

Welcome to Arken Shifter, a database migrator for an open omniverse by the Arken Engineering open initiative. Currently it's taking data from various JSONs, Postgres, etc. and moving them to Mongo. In the future it'll do data syncing.

Arken Shifter

Install

Clone the repo and install dependencies:

git clone --depth 1 --branch main https://github.com/arken-engineering/shifter.git your-project-name
cd your-project-name
rush update

Having issues installing? See our debugging guide

Starting Development

Download the data here: https://github.com/arken-engineering/data

Folder structure:

./data
./shifter

Requirements

  1. MongoDB
  2. Node 18
  3. Rush

Setup

nvm install 18
npm install -g rush ts-node-dev
rush update
rushx dev

Add this to .env

PORT=9009
DATABASE_URL="postgresql://user:pass@localhost:5432/arken"
MONGO_ENDPOINT="mongodb://user:pass@localhost:27017/arken"

Connecting to MongoDB

docker exec -it mongodb bash

Docs

See our docs and guides here

Quick Links

License

WTFFPL