Skip to content

dlosatoes/fluree-schema-scenario-tool

Repository files navigation

Fluree Schema Scenario Tool

This project contains a simple yet usefull tool for database schema development for FlureeDB. Note that there have been major updates to the commandline interface from the 0.1 version of this tool. Please upgrade both the tool and the accompanying docker images if you are currently using the 0.1 version.

From the 0.2 version of fsst, the command line has a number of sub commands. The following sub-commands run without docker and without a local FlureeDB server.

The following sub-commands can run without docker, but need a FlureeDB server to communicate with

If you have Docker installed, the following commands should also be available

  • versioncheck : Compare the version of the fsst tool on the host with the one on the guest docker for compatibility.
  • dockerstart : Start a FlureeDB version in a docker container.
  • dockerstop : Stop docker container running given FlureeDB version.
  • dockerparams : Retreive base info from a running docker container running a given FlureeDB version.
  • dockerdeploy: Start an fsst docker container and compile and deploy a FlureeDB schema from a build target, from within the container.
  • dockertest: Start an fsst docker container and run all unit tests for a build target from within the container.

Install

The easiers way to install fsst is the use of pip. There are four ways to install fsst.

full install

This should be the default as it enables all the subcommands you might want with full functionality.

python3 -m pip install 'fsst[docker,domainapi]'

Without the domain API

python3 -m pip install 'fsst[docker]'

Without support for docker sub commands

python3 -m pip install 'fsst[domainapi]'

Minimal

python3 -m pip install fsst

Gitlab CICD

For usage in a gitlab CICD pipeline, chack out this page

Releases

No releases published

Packages

No packages published

Languages