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

ISTWCMS-3452: adding script to build gesso

parent b3a0c440
No related branches found
No related tags found
No related merge requests found
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
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