Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 1.1 KB

README.md

File metadata and controls

42 lines (29 loc) · 1.1 KB

coclico-static

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Lints and fixes files

npm run lint

Data structure

To keep supply and consumption of data consistent, a standard for data collections is agreed upon.
The ./current folder in @openearth/coclicodata is the considered the data root.
Child folders in the root are considered "Themes" or "Collections" and contain a collection.json that defines the data and visual resources inside that collection, including metadata.
The collection points to its children folders in relation to possible variables as defined in the collection.json, these children are considered "Items".
All Items and Collections contain an "Assets" object that defines its resources. These resources are standardized internally in the team.

More info on asset types can be found in ASSETS.md.

Customize configuration

See Configuration Reference.