groundedsage / VeganBN-website

Real World JAM stack with Clojure, Boot, Rum, Devcards
5 stars 1 forks source link

Get site to build statically for deployment #13

Closed groundedsage closed 7 years ago

groundedsage commented 7 years ago

This project was based off of the Tenzing template. https://github.com/martinklepsch/tenzing

Reading ->

Writing build artifacts to disk

explains how to build the site for deployment which uses boot production build target.

Currently this projects code only renders the index.html and the rest of the pages don't render.

groundedsage commented 7 years ago

Currently the site is rendered during the serving phase of dev. It needs to be rendered during the build and placed in a fileset. Then served from that fileset during dev. It should then be simple to put this fileset into the target folder.

groundedsage commented 7 years ago

Documentation on Filesets: https://github.com/boot-clj/boot/wiki/Filesets

groundedsage commented 7 years ago

Got this figured out thanks to Alan Dipert

groundedsage commented 7 years ago

Closed from merge #14

groundedsage commented 7 years ago

And merge #15