pip install oakvar
Note for open-cravat users
OakVar supports backward compatibility with open-cravat and thus open-cravat should be first removed before installing OakVar by
pip uninstall open-cravat. open-cravat can simply be restored by removing OakVar by
pip uninstall oakvarand installing open-cravat by
pip install open-cravat. There is no side-effect of doing this switch unless you share open-cravat modules with OakVar as described below.
OakVar does not share system files with nor transfer system configuration from open-cravat. OakVar's default modules directory is different.
OakVar is backward-compatible with open-cravat modules. If you have been using open-cravat and want to continue to use open-cravat modules with OakVar, you can do so by setting OakVar modules directory to point to that of open-cravat with
ov system mdcommand. Please keep in mind that OakVar has its own updated versions for some of open-cravat modules, so if you are sharing the same modules directory between OakVar and open-cravat,
ov module updatemay break oc-compatibility of some of the updated modules.
ov system setup will set up OakVar with sane defaults.
Setup process can be customized with a setup file or environment variables, which can be useful in automated deployment.
Setup with a file
A setup file in yaml format can be used. System configuration fields which are missing in the setup file will be filled with sane defaults. Setup with a file with custom locations for modules and logs can be done as
ov system setup -f setup.yaml
where setup.yaml is
Setup with environment variables
All system configuration fields can be overridden with environment variables. To override a system config field, set the environment variable
OV_ + upper-cased field name to a desired value. For example,
|System configuration field
The custom setup in the previous section can be done using environmental variables as
ov system setup
Another example is installing system files in a custom directory.
ov system setup
This will install OakVar system files at
Using environmental variablse for setup can be useful in deploying OakVar with Docker containers.
If you experience any problem and want to do clean installation of OakVar,
ov system setup --clean provides such clean installation. It will reset the system and user configuration files.
--clean still will not delete
modules have downloaded modules and users should manually delete this folder if they really want, because this folder can take a lot of time to recreate.
conf folders have just contents.