0.9.2 • Published 2 years ago

@alkemio/populator v0.9.2

Weekly downloads
-
License
EUPL-1.2
Repository
github
Last release
2 years ago

Populate a Alkemio Hub with data from a spreadsheet

This repository has functionality to enable the population of a Challenge Hub with data from a spreadshet. The spreadsheet is a local file, in the "OpenDocument Spreadsheet" (ODS) format.

Spreadsheet 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 Challenge Hub then please make a copy of this sheet and fill as needed.

Checks steps before starting:

  • Ensure that the Alkemio Server is available.

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:
    • API_ENDPOINT_PRIVATE_GRAPHQL: The server api end point location. This should be the non-interactive private end point.
    • ALKEMIO_DATA_TEMPLATE: The data template to use for population
    • AUTH_ADMIN_EMAIL: The administrator user name for accessing the server. Defaults to admin@alkem.io.
    • AUTH_ADMIN_PASSWORD: The password for the administrator.

Execute the population

Finally you should now be in a position to run the data population!

  • Execute npm install - to ensure the dependencies in the project are installed
  • Execute npm run populate

Now you can navigate the web client and see a sample populated Challenge Hub - enjoy!

Updating

The populator provides the ability to separately create / update the information on the following entities:

  • Organization: execute npm run populate-organizations
  • Hub/Challenge/Opportunity: execute npm run populate-context
0.9.2

2 years ago

0.9.1

2 years ago

0.8.2

2 years ago

0.5.4

2 years ago

0.5.3

2 years ago

0.7.0

2 years ago

0.6.1

2 years ago

0.6.0

2 years ago

0.5.0

3 years ago

0.4.1

3 years ago

0.5.2

3 years ago

0.5.1

3 years ago

0.4.0

3 years ago

0.3.2

3 years ago

0.3.1

3 years ago

0.3.0

3 years ago

0.2.14

3 years ago