mirror of
https://github.com/matrix-org/mjolnir.git
synced 2024-10-01 01:36:06 -04:00
13 lines
380 B
TypeScript
13 lines
380 B
TypeScript
/**
|
|
* This file is used to launch mjolnir for manual testing, creating a user and management room automatically if it doesn't already exist.
|
|
*/
|
|
|
|
import { makeMjolnir } from "./mjolnirSetupUtils";
|
|
import { read as configRead } from '../../src/config';
|
|
|
|
(async () => {
|
|
const config = configRead();
|
|
let mjolnir = await makeMjolnir(config);
|
|
await mjolnir.start();
|
|
})();
|