- downloadable material (
./modules
) π§ - settings/metadata for each module (
./settings/modules.json
) and downloads (./settings/downloads.json
) ποΈ - preview images for downloads (
./previews
) πΌ
Here lives the single folder with downloadable material for each Senses module as well as the settings/metadata for each module.
To provide downloadable material for your module you will have to create a folder with the module name.
- Each folder will contain a readme file to document the actual content of the folder
- Images will be named according to a standard convention:
[number]-[title].png
- Independently from data formats each dataset should have consistent metadata to support their use. Datasets will be named according the following standard convention:
[number]-[title]-[data].csv
More information about keys are located in ./settings/
Setting files are deployed here: https://dev.climatescenarios.org/settings
Place preview images in ./previews
. These images should not be wider thatn 1000 pixels.
There is a script to make everything ready for the server (zipping files, checking jsons, β¦)
Setup
npm install
Build for climatescenarios.org
npm run build
Build for dev.climatescenarios.org
npm run dev
For this issues:
import fs from 'fs'
^^^^^^
SyntaxError: Cannot use import statement outside a module
Try using a newer NodeJS version: nvm use 13.9.0