Skip to content

sasjs/pacman

 
 

Repository files navigation

Pacman for SAS

Thanks to Dale Harvey for this very permissively licensed pacman game!

The aim of this repo is to demonstrate the ease with which apps can be streamed in SAS Viya, EBI, and SASjs Server.

Deployment

If you just want to deploy the game in your SAS environment, in all cases you need to download the relevant asset from the releases page.

  • SAS 9 - Open sas9.sas in Enterprise Guide or Studio. Modify line 2 with your preferred appLoc. Execute and open the link at the end of the log.
  • Viya - Open viya.sas in SAS Studio. Execute and open the link at the end of the log.
  • SASjs Server - just import the server.json.zip file to AppStream

Build

If you would like to build the app from source, you first need to install the SASjs CLI.

Then, update the defaultTarget attribute of the sasjs/sasjsconfig.json according to whether you are running SASjs server, sas9 EBI, or viya. You should also update the serverUrl and appLoc attributes of the relevant target, to determine to which server and logical folder you will deploy.

Instructions thereafter:

npm i
sasjs auth
sasjs cbd

You can then click the link at the bottom of the console to launch!

Demo

This video demonstrates a deployment onto SAS Viya.

Pacman on SAS

If you'd like to publish an app with SASjs, we're happy to help - contact us here.