mirror of
https://github.com/matrix-org/mjolnir.git
synced 2024-09-30 13:16:04 +00:00
13 lines
382 B
TypeScript
13 lines
382 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 config_read } from '../../src/config';
|
|
|
|
(async () => {
|
|
const config = config_read();
|
|
let mjolnir = await makeMjolnir(config);
|
|
await mjolnir.start();
|
|
})();
|