mongodb-js / devtools-kerberos-playground

Playground repo for kerberos

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

USAGE

Prerequisites

node.js and docker are required to run the tests.

Also for the first time:

  1. Add host entries to /etc/hosts
sudo npm run setup-host-entries
  1. Setup krb5.conf
sudo npm run setup-krb5-conf

Note: any previous /etc/krb5.conf will be backed up and replaced.

Run

Start the docker setup:

npm run start-server

And run the tests from a different terminal:

npm run test

Use MONGODB_SHELL_BINARY to specify a different shell, eg:

MONGODB_SHELL_BINARY=mongo36 npm run test

About

Playground repo for kerberos


Languages

Language:Shell 48.2%Language:JavaScript 36.8%Language:Dockerfile 15.0%