Basic build/link landing page script

This commit is contained in:
Oskar Thorén 2017-10-30 11:10:27 -05:00
parent 88a6fa1749
commit 1cbcce1ab1
2 changed files with 17 additions and 1 deletions

View File

@ -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

11
build-landing-page.sh Executable file
View File

@ -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/