Skip to content

Commit 0f5ad41

Browse files
committed
Docs - installation without fs access to server
1 parent 2d590df commit 0f5ad41

1 file changed

Lines changed: 15 additions & 2 deletions

File tree

README.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Installation
77
-----------
88

99
1. Download Installer.cls.xml (from MDX2JSON folder in repository or releases page) into Caché manager directory.
10-
2. Run in terminal (any namespace) under %user with %All role:
10+
2. Run in terminal (any namespace) under user with %All role:
1111

1212
do ##class(%Installer.Installer).InstallFromCommandLine(##class(%File).ManagerDirectory()_"Installer.cls.xml","Namespace={Namespace}")
1313

@@ -17,13 +17,26 @@ Installation
1717
On this step installer would create (if needed) Namespace and corresponding database, download source code from GitHub and compile it, create required web application (named /{Namespace}) if one does not exist (skipping web application creation process if one does exist), and map MDX2JSON package to %All namespace (which will be created if it does not exist).
1818
3. Give the correct roles to /{Namespace} webapplication for it to be able to query desired cubes.
1919

20+
Installation without fs access to server
21+
-----------
22+
23+
1. Download Installer.cls.xml (from MDX2JSON folder in repository or releases page) into Caché Studio (any namespace)
24+
2. Run in terminal (any namespace) under user with %All role:
2025

26+
set pVars("Namespace")="{Namespace}"
27+
do ##class(MDX2JSON.Installer).setup(.pVars)
28+
29+
where:
30+
31+
{Namespace} is a namespace you want to install to. If it does not exist it would be created automatically. If it does exist only MDX2JSON package would be overwritten.
32+
On this step installer would create (if needed) Namespace and corresponding database, download source code from GitHub and compile it, create required web application (named /{Namespace}) if one does not exist (skipping web application creation process if one does exist), and map MDX2JSON package to %All namespace (which will be created if it does not exist).
33+
3. Give the correct roles to /{Namespace} webapplication for it to be able to query desired cubes.
2134

2235
Offline Installation
2336
-----------
2437

2538
1. Download zip and unpack it.
26-
2. Run in terminal (any namespace):
39+
2. Run in terminal (any namespace) under user with %All role:
2740

2841
do ##class(%Installer.Installer).InstallFromCommandLine("{SourceDir}\Installer.cls.xml","Namespace={Namespace},SourceDir={SourceDir}")
2942

0 commit comments

Comments
 (0)