Demo data – cavaliba.com
Description: Load demo data

`CTRL K`

Documentation
Quickstart
Demo data

# Demo data

## Emtpy cavaliba

By default, cavaliba starts with an (almost) empty database. It contains only mandatory/default objects.

## Setup usefull alias

    ## recommended : define the following aliases:

    $ alias cavaliba  = "docker exec -it cavaliba_app python manage.py cavaliba"
    $ alias cavmanage = "docker exec -it cavaliba_app python manage.py"

Add them to your `~/.basrc` for persistence.

You can now type :

    $ cavmanage
    $ cavaliba --help

## Check version

    $ cavaliba version
    3.17.1

## Check available schemas

    $ cavaliba schema

## Load demo

You can play with some demo data provided with the application :

    $ cavaliba load builtin/demo/

Warning : don’t run this command on an existing cavaliba instance : it may overwrite existing data.

You should now see schemas and content:

    $ cavaliba schema
    app                            200
    customer                       1
    pc                             0
    printing                       0
    program                        4
    project                        6
    sirene_message                 0
    sirene_public                  7
    sirene_template                1
    site                           200
    sitegroup                      1
    status_monitor                 1
    vm                             0
    _apikey                        0
    _dataview                      18
    _enumerate                     15
    _pipeline                      2
    IAM/user (user)                505
    IAM/group (group)              202
    IAM/role (role)                13
    IAM/permission (permisison)    134
    Dashboard entries (home)       28

Numbers may be different, depending on cavaliba version.

Detailed Setup