Loading...
Loading...
Installing, configuring, and running @sasjs/server — the open-source NodeJS wrapper around the SAS binary that provides a REST API, filesystem (SASjs Drive), Stored Program execution, and web app streaming. Covers desktop vs server modes, runtime configuration (SAS/JS/Python/R), environment variables, auth (tokens, LDAP), and mock server types. Use when deploying, troubleshooting, or developing against sasjs/server.
npx skill4agent add sasjs/skills sasjs-serverMODE=desktopMODE=serverDB_CONNECTDB_TYPE=mongodb|cosmos_mongodbWHITELISTapi-linuxcurl -L https://github.com/sasjs/server/releases/latest/download/linux.zip > linux.zip
unzip linux.zip && ./api-linuxDockerfileApi/etc/environment.env| Variable | Purpose |
|---|---|
| |
| Path to |
| Comma-separated runtime priority, e.g. |
| Working directory: SAS WORK, staged files, drive, config |
| Location for files, sasjs packages, |
| |
| Extra SAS system options auto-applied to sessions (Windows vs Unix), e.g. |
| MongoDB connection string / type — required for server mode |
| LDAP auth: |
| Enable CORS and whitelist space-separated origins |
| Emulate |
SASJSserverType: 'SASJS'ms_*ms_createfilems_adduser2groupapi/web/restClient/mongo-seed/