Skip to content
Snippets Groups Projects
Commit a18c648c authored by Eric Bremner's avatar Eric Bremner
Browse files

ISTWCMS-3452: updating build gesso script

parent ef5574d8
No related branches found
No related tags found
No related merge requests found
build_gesso.sh 100644 → 100755
uw_wcms_gesso_root_path=${1:-/var/www/html}
git clone "https://github.com/forumone/gesso" "$uw_wcms_gesso_root_path/uw_wcms_gesso/gesso"
cd "$uw_wcms_gesso_root_path/uw_wcms_gesso/gesso"
rm -rf "$uw_wcms_gesso_root_path/uw_wcms_gesso/gesso/source"
ln -s "$uw_wcms_gesso_root_path/uw_wcms_gesso/source"
# Adding symbolic link to source, as gesso_helper module hard-codes the twig_functions to add
# to "Themepath/SORUCE/..."
echo "Removing Gesso files"
rm gesso.layouts.yml
rm gesso.info.yml
rm gesso.libraries.yml
rm gesso.breakpoints.yml
rm Dockerfile
rm screenshot.png
rm -rf templates
echo "Done removing gess theme files."
echo "Running npm install..."
npm install
echo "Done."
echo "Running gulp build..."
gulp build
uw_wcms_gesso_root_path=${1:-/var/www/html}
git clone "https://github.com/forumone/gesso" "gesso"
cd gesso
rm -rf "$uw_wcms_gesso_root_path/uw_wcms_gesso/gesso/source"
ln -s "$uw_wcms_gesso_root_path/uw_wcms_gesso/source"
echo "Removing Gesso files"
rm gesso.layouts.yml
rm gesso.info.yml
rm gesso.libraries.yml
rm gesso.breakpoints.yml
rm Dockerfile
rm screenshot.png
rm -rf templates
echo "Done removing gess theme files."
echo "Running npm install ..."
npm install
echo "Done npm install."
echo "Running gulp build ..."
gulp build
echo "Done running gulp build."
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment