diff --git a/README.md b/README.md index a8d3388..6f852c5 100644 --- a/README.md +++ b/README.md @@ -134,7 +134,12 @@ Open http://localhost:3449/cards.html ### Update landing page -Landing page is static and different CSS and JS due to time constraints. Update `static_landing_page` and then copy `dest` dir to `resources/public` and `index.html` to `resources/templates/` . Also need to put `assets` inside `resources/public.` +Landing page is static and different CSS and JS due to time constraints. + +- Build CSS with Gulp (see `static_landing_page/README.md` +- Make changes and `./build-landing-page.sh` + +This copies over necessary artifacts to `resources` dir. ## License diff --git a/build-landing-page.sh b/build-landing-page.sh new file mode 100755 index 0000000..6eeb295 --- /dev/null +++ b/build-landing-page.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env sh + +# TODO: Gulp etc pipeline, for now just HTML tweaks + +echo "Copying index.html, dest, and assets to resources/{templates,public}." +cp static_langing_page/index.html resources/templates/index.html +cp -r static_langing_page/dest/ resources/public/dest/ +cp -r static_langing_page/assets/ resources/public/assets/ + + +