Skip to content
This repository has been archived by the owner on Mar 1, 2022. It is now read-only.

TryGhost/mongo-knex

Repository files navigation

Mongo Knex

Installation

  1. Make sure that gstenv is green. See Dev Environment for docs.
  2. git clone this repo & cd into it as usual
  3. Run yarn to install top-level dependencies.

Run

Test

  • yarn lint run just eslint
  • yarn test run lint && tests
  • NODE_ENV=testing-mysql yarn test
    • Manual database creation is currently required.

Debug

DEBUG=mongo-knex:* DEBUG=mongo-knex:converter DEBUG=mongo-knex:converter-extended

Config

config.[env].json

Copyright & License

Copyright (c) 2013-2022 Ghost Foundation - Released under the MIT license.