adjust path to register script for pip installation
parent
26f9dd071a
commit
d9def18184
|
@ -59,12 +59,12 @@ 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(' && ');
|
||||||
|
|
||||||
await execAsync(allCmds, {cwd: this.cwd, encoding: 'utf-8'});
|
await execAsync(allCmds, {cwd: this.cwd, encoding: 'utf-8'});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue