Skip to content

Demo "mode" vs "script" [comment/discussion] #14

@hopcroft

Description

@hopcroft

It appears that the "initial turn-on" for the Databus code that external users can download has a sort of "demo mode" built-in, with some fake users, and fake data. Is this correct?

This seems like it is asking for trouble- you have to have a build system which supports production and test builds, or modes or something, and the code contains a lot of stuff that is not related to the core functionality.

Instead, is it possible instead to a "demo script" which would provision a Database, make a few Tables, and load them with fake data? A new user could run this script after installing Databus for the first time. The script could even have "pause and press any key" features, where the user is invited to look at the web interface and see the new database listed, now click on Tables and see the tables, now click on Charts and see the data, etc.

This would make for cleaner code, illustrate the API capabilities, and serve as a programming example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions