Skip to content

Ability to update index.json without building app #1

Description

@sverhoeven

The web app now reads the index.json from the src when its bundled during build. So just before build the scrape script is executed.

It would be nice to be able to build the app and run the scrape separated in their own GH action workflow.
The app will then not be build when the scraper generates a new file.

For this to work we should move index.json to https://github.com/jasp-stats-modules/modules-registry where it is hosted as https://jasp-stats-modules.github.io/modules-registry/index.json.

The app is able to fetch the index.json from there and show a loading spinner. We should take care that local app development is possible with a local index.json file.
In #20 spinner and ?c=index.json was added.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions