Merge pull request #51 from matrix-org/bwindels/fixsynapseinstallation2
adjust path to register script for pip installation
This commit is contained in:
commit
c76dc87412
2 changed files with 4 additions and 4 deletions
|
@ -59,10 +59,10 @@ module.exports = class RestSessionCreator {
|
||||||
'--no-admin',
|
'--no-admin',
|
||||||
this.hsUrl
|
this.hsUrl
|
||||||
];
|
];
|
||||||
const registerCmd = `./scripts/register_new_matrix_user ${registerArgs.join(' ')}`;
|
const registerCmd = `./register_new_matrix_user ${registerArgs.join(' ')}`;
|
||||||
const allCmds = [
|
const allCmds = [
|
||||||
`cd ${this.synapseSubdir}`,
|
`cd ${this.synapseSubdir}`,
|
||||||
". env/bin/activate",
|
". activate",
|
||||||
registerCmd
|
registerCmd
|
||||||
].join(' && ');
|
].join(' && ');
|
||||||
|
|
||||||
|
|
2
start.js
2
start.js
|
@ -52,7 +52,7 @@ async function runTests() {
|
||||||
}
|
}
|
||||||
|
|
||||||
const restCreator = new RestSessionCreator(
|
const restCreator = new RestSessionCreator(
|
||||||
'synapse/installations/consent',
|
'synapse/installations/consent/env/bin',
|
||||||
hsUrl,
|
hsUrl,
|
||||||
__dirname
|
__dirname
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue