squanmate icon indicating copy to clipboard operation
squanmate copied to clipboard

Publish to GitHub sites?

Open mikavilpas opened this issue 7 years ago • 1 comments

  • needs cache busting https://github.com/burhanloey/cljs-simple-cache-buster
  • deployment script
  • files in doc/ directory in root
  • see how it's possible to test in a staging like environment

Is it worth it?

mikavilpas avatar Jan 07 '18 19:01 mikavilpas

At work I have learned to use Webpack, which has really cool features that can be used to implement a more managed deployment. I think in would be possible to use Leiningen to build the project like it's done right now, and then do a "production build" with Webpack.

It should allow fingerprinting the final compiled javascript and css, and even build a new static html page that loads them both. This way all cache problems would be nonexistent, and it would allow using for example the url squanmate.github.io that would always load the newest version of the app.

I'm still letting my hands heal as much as possible from my RSI injury at the moment, so I have no good estimate of how long it might take to implement this.

mikavilpas avatar Apr 09 '18 13:04 mikavilpas