Presently Sunbird Editors [ Content-editor, Collection-editor, and Generic-editor] build has a dependency on Portal build which is a time-consuming and unnecessary activity. This document will describe the design approach to decouple both the build process so that they be deployed independently.
Build process
Existing build process:
Editor build artifact stores in blob storage as a compressed file
Portal build process downloads that artifact compressed file, uncompress it and stores it as it’s own artifact
portal consume these editors from its own file system which is currently being generated from portal’s gulp task
Proposed build process:
Editor’s uncompressed build artifacts stores in blob storage
Portal / Devices will use this blob storage as a source and always loads the editor from this endpoint
This way portal need not depend on editor build and always point to blob storage for Editors consumption. Even editors need not depend on the portal build.