You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This seed app provides a wrapper for `@sasjs/adapter`, a lightning fast adapter for talking to both SAS 9 and Viya.
6
+
This seed app provides a quick start for building an Angular Web app on Viya, SAS EBI or Foundation SAS with the SASjs DevOps framework.
10
7
11
8
## Frontend Web
12
9
13
-
Clone the repo, `cd` into it, and `npm install`. Then update the following in `index.html`:
10
+
Clone the repo, `cd` into it, and `npm install`.
11
+
12
+
Next, update the following attributes in `index.html`:
14
13
15
14
-`appLoc` - this is the folder (eg in metadata or SAS Drive) under which the SAS services are created.
16
15
-`serverType` - either SAS9, SASVIYA or SASJS.
@@ -27,10 +26,10 @@ If you are running locally you will either need to whitelist `localhost` on the
27
26
28
27
## Backend Services
29
28
30
-
Creating services in SAS 9, Viya or SASjs Server can be done entirely in SAS Studio using the code below.
29
+
Normally services would be compiled and deployed using the [SASjs CLI](https://cli.sasjs.io), however for speedy setup you can simply run the following code in Studio:
31
30
32
31
```
33
-
%let appLoc=/Public/app/angular; /* Metadata or Viya root folder */
32
+
%let appLoc=/Public/app/angular; /* Root folder in Metadata or Drive */
34
33
filename mc url "https://raw.githubusercontent.com/sasjs/core/main/all.sas";
35
34
%inc mc; /* download and compile macro core library */
For building anything other than a seed app, we recommend the `@sasjs/cli` tool for project configuration.
56
+
To use the CLI, first run `sasjs add` and follow the prompts to create a target. You can then run `sasjs cbd -t yourtargetname` to compile, build, and deploy your backend.
57
+
58
+
If you set `streamWeb:true` in the `streamConfig` of your `sasjs/sasjsconfig.json` file you can also run as a [streaming app](https://sasapps.io/sas-streamed-apps) (without a web server).
58
59
59
60
## Contributors ✨
60
61
@@ -79,18 +80,4 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
79
80
80
81
<!-- ALL-CONTRIBUTORS-LIST:END -->
81
82
82
-
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
0 commit comments