alfresco-content-app/build-tomcat-e2e.sh
Denys Vuika 830357e892
[ACA-2214] Sharing URL being constructed from ECM Host incorrectly (#981)
* fix baseShareUrl defaults

* allow controlling full path

* unit test

* update tomcat settings

* use single slash

* simplify documentation
2019-03-01 07:15:08 +00:00

14 lines
353 B
Bash
Executable File

npm run build.e2e -- --base-href ./
node -e "
const fs = require('fs');
const config = require('./dist/app/app.config.json');
config.baseShareUrl = 'http://localhost:4000/content-app/#/preview/s/';
fs.writeFileSync(
'./dist/app/app.config.json',
JSON.stringify(config, null, 2)
);
"
jar -cvf docker/tomcat/artifacts/content-app.war -C dist/app/ .