cherrytwist-populator
v0.1.4
Published
This repository has functionality to enable the population of an Ecoverse with data from a spreadshet. The spreadsheet is a local file, in the "OpenDocument Spreadsheet" (ODS) format.
Downloads
4
Readme
Populate an Ecoverse with data from a spreadsheet
This repository has functionality to enable the population of an Ecoverse with data from a spreadshet. The spreadsheet is a local file, in the "OpenDocument Spreadsheet" (ODS) format.
Google Sheet Format
The spreadsheet does have a required format. An example of such a sheet is provided in this repo. If you want to make a custom load of data into an Ecoverse then please make a copy of this sheet and fill as needed.
Checks steps before starting:
- Ensure that the Cherrytwist Server is available, and that it (for now) has authentication disabled.
Populating using custom locations or data file:
- Make a copy of
.env.default
to creat a.env
file - Edit this file to specify the values for the two environment variables:
- CT_SERVER: The server file location
- CT_DATA_TEMPLATE: The data template to use for population
Execute the population
Finally you should now be in a position to run the data population!
- Execute
npm run populate
Now you can navigate the web client and see a sample populated Ecoverse - enjoy!