serverUsing the Database

This page describes how to setup and use the database.

The below link contains all the commands you'll ever need to know to use the database!

Setting up the database

Before you use the database, you need to set it up. For this, you'll need to source the below script:

triangle-exclamation

Importing configuration files to the database

Once you've created a configuration file, you'll need to add it to the database so that it is available in the shifter GUI. To do this, you first need to

  1. cd into the directory of the configuration file you'd like to add. This is where you need to run the below commands for each specific one!

  2. Then, you need to run the below command:

Once this is run, you should be able to see your configuration in the list of configurations!

Printing out a list of configurations available to the shifter

If you want to see the list of configurations available to the shifter (not the complete list of available configurations!), you'll need to use the below command:

Hiding configurations available to the shifters

If you want to hide a configuration (basically setting it to inactive so that the shifter can't see it/use it), you need to follow the below steps:

1

Change directory into makeOldConfigsInactive

2

Change directory into inactiveFlag

3

Run the relevant script

Now, your chosen configuration should be hidden from the shifter view.

Last updated