mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 19:56:47 +03:00
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,12 +59,12 @@ module.exports = class RestSessionCreator {
|
|||
'--no-admin',
|
||||
this.hsUrl
|
||||
];
|
||||
const registerCmd = `./scripts/register_new_matrix_user ${registerArgs.join(' ')}`;
|
||||
const registerCmd = `./register_new_matrix_user ${registerArgs.join(' ')}`;
|
||||
const allCmds = [
|
||||
`cd ${this.synapseSubdir}`,
|
||||
". env/bin/activate",
|
||||
". activate",
|
||||
registerCmd
|
||||
].join('&&');
|
||||
].join(' && ');
|
||||
|
||||
await execAsync(allCmds, {cwd: this.cwd, encoding: 'utf-8'});
|
||||
}
|
||||
|
|
2
start.js
2
start.js
|
@ -52,7 +52,7 @@ async function runTests() {
|
|||
}
|
||||
|
||||
const restCreator = new RestSessionCreator(
|
||||
'synapse/installations/consent',
|
||||
'synapse/installations/consent/env/bin',
|
||||
hsUrl,
|
||||
__dirname
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue