1
0
mirror of https://github.com/dap-ps/discover.git synced 2025-01-31 19:45:53 +00:00
discover/build.sh
Jakub Sokołowski fc80ae85dc
Revert "Updates build process to use env for setting endpoints"
This reverts commit a92592c223a5f09abeb3cc444ecc528d28a1d9f1.
2019-08-05 09:51:31 -04:00

12 lines
305 B
Bash

echo "removing old full-build"
rm -rf full-build
echo "creating new full-build"
mkdir full-build
cp -r back-end/* full-build/
echo "building new frontend"
npm run build
echo "copying new frontend"
rm -rf full-build/frontend/*
cp -r build/* full-build/frontend/
echo "Finished. Use your full-build folder"