Re-work to install adapt_framework

The adapt_framework folder is a pre-requisiste in publishing and
previewing courses.