HAX technology is unlike anything that's existed previously in the CMS space. HAX sites have the following characteristics that make them unique:

Understanding the CDN network priority

No configuration / file changes are required for the below to operate because of how the build.js script included with all HAX sites works. You can read more about this in the Dev.to blog series about how Penn State ships web components . The magic script, extended since the original article was written, operates in the following order:

Working with local copies for deploying without CDN usage

If you wish your site to be 100% self contained and NOT rely on our CDN to hydrate, then you'll want to copy and include the following files on your server:

Place this folder and file in the root of your site and it will operate completely agnostic of changes to the CDN managed to keep sites on the latest copy of assets.

Deploy to github page

No configuration beyond getting the files up on github should be necessary. Just make sure when configuring the Settings for your repo that you point to the main / master branch as opposed to gh-pages branch for serving your site.

Deploy to surge.sh

surge.sh . should be all you need in order to publish a newly downloaded folder to surge. This is because of the magic script's defaults matching surge!

Download and unzip on a server

Downloading HAX sites allows you to take your site with you at the click of a button by unzipping it onto your own hosting service. Here are some considerations of that:

Customizing downloaded site CSS/JS

In all sites there is a backdoor file for adding custom CSS and JS. These files have defaults (of nothing) but load so that if you want to make hard-coded changes you can inject customized JS and CSS. For JS custom/build/custom.es6.js is the file you'll want to modify and for CSS theme/theme.css