diff --git a/docs/dci-backend.md b/docs/dci-backend.md index ed5e93b..3d25f61 100644 --- a/docs/dci-backend.md +++ b/docs/dci-backend.md @@ -5,17 +5,17 @@ The backend for Data Controller consists of a set of Stored Processes, a macro l ## Regular Deployment -1 - Import datacontroller.spk using SAS Management Console. The location in which this is deployed should be added to the `metadataRoot` value in the `h54s.config` file as per [frontend](dci-frontend.md#details) deployment. +1 - Import `/sas/import.spk` using SAS Management Console. Make a note of the root location in which this was deployed - as this will be added to the `metadataRoot` value in the `h54sConfig.json` file in the [frontend](dci-frontend.md#details) deployment. -2 - Create a physical staging directory. This will contain the data submitted by editors and awaiting approval. The SAS Spawned Server account (eg `sassrv`) will need write access to this location. +2 - Create a physical staging directory. This folder will contain the logs and CSV files generated by Users. The SAS Spawned Server account (eg `sassrv`) will need write access to this location. 3 - Register a library in metadata for the control database. The libref should be `DATACTRL`. If this is not possible, then an alternative libref can be used, simply specify it in the configuration component. 4 - Update the configuration component (imported in the SPK) with the following attributes: * `dc_staging_area` - location of staging directory as per step 2 -* `dc_libref` - if you were unable to use the `DATACTRL` libref in step 3, then use the updated libref here * `dc_admin_group` - enter the name of a metadata group (eg SASAdministrators) that should be given unrestricted access to the tool +* `dc_libref` - if you were unable to use the `DATACTRL` libref in step 3, then use the updated libref here 5 - Deploy the data model. For this, simply compile and run the `mpe_build()` macro.