Skip to content

SensesProject/static

Repository files navigation

Senses Share Materials and Settings 🔛

Here lives the single folder with downloadable material for each Senses module as well as the settings/metadata for each module.

How to downloadable material 🔧

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

How to settings 🎚️

More information about keys are located in ./settings/ Setting files are deployed here: https://dev.climatescenarios.org/settings

How to previews 🖼

Place preview images in ./previews. These images should not be wider thatn 1000 pixels.

Distribution 📦

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

Troubeshoot

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

About

Shared metadata and downloadable materials that can be accessed from the toolkit and individual modules

Topics

Resources

License

Stars

Watchers

Forks