Basic build/link landing page script
This commit is contained in:
parent
88a6fa1749
commit
1cbcce1ab1
|
@ -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
|
||||
|
||||
|
|
|
@ -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/
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue