Readme for testing prototype. Please post issues to here
npm install -g adaptv4-cli
adaptv4 create course my-adapt-course
cd my-adapt-course
grunt dev
theme
and menu
parameters includes
and excludes
core
adapt-contrib-boot
, adapt-contrib-core
, adapt-contrib-data
,adapt-contrib-drawer
, adapt-contrib-navigation
and adapt-contrib-notify
. these 6 plugins are currently just an example of how the core can/should be sub-divided. i picked the easy bits.adapt-contrib-data
plugin loads the adapt/data/manifest.js
, then susequently all of the json files listed in the manifest. it provides an open data loader layer for Adapt to enable it to load custom json files (in addition to the standard config.json
, course.json
, contentObjects.json
, articles.json
, blocks.json
and components.json
)src/core
folder is removed as is the src/index.html
and the grunt
folder is updated to accomodate the new plugin structureplugins (general)
components/
, extensions/
, menu/
or theme/
foldersconfig.js
for each plugin rather than a global one for adapt_framework. this is hopefully only a temporary measure to ensure all of the plugins are able to configure the compilation process appropriatelygrunt
grunt-file-order
was created to sort files in the build processadapt-core
to provide the first layer of the build process before adapt-component
, adapt-extension
, adapt-menu
and adapt-theme
adapt-core
first, all adapt-theme
last) and then in dependency-order (roots first, most dependant last)src/core/
foldercoreJS/
will be rewritten into adapt-contrib-core/js/
, etc. and warnings will be shown in the console for renamed namespacesadapt/data/manifest.json
file, which contains a list of all the json files in the course folder, this ties into the adapt-contrib-data
pluginbower
.bowerrc
file allows installation of plugins from multiple, layered bower repositoriesadapt-bower-repository-v4
plugins take prescendence over the adapt-bower-repository
ones, but all of the core components should work seamlessly with this prototypeadaptv4-cli