explore-services/portal-4cli-lib/prepareDeploy.sh

8 lines
311 B
Bash
Executable File

cp explore-production-properties.json src/assets/env-properties.json;
rm -rf src/assets/common-assets/.svn/;
rm -rf src/app/openaireLibrary/.svn/;
npm run build:dynamic;
rm -rf src node_modules .idea/ connect-production-properties.json installOpenaireLib.sh;
echo 'Ready!';
echo 'Now copy dist to the server!'