A pure HTML5 game (source) that can be streamed on SAS Viya, EBI, and SASjs Server.
The purpose is to demonstrate the ease with which HTML5 apps can be compiled, built and deployed using SASjs.
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.sasin 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.sasin SAS Studio. Execute and open the link at the end of the log. - SASjs Server - just import the
server.json.zipfile to AppStream
That's it! Nothing to install, and no admin rights or special privileges required.
If you are a developer and 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:
- Run
npm installto obtain the dependencies - Run
sasjs authto authenticate against your chosen target - Run
sasjs cbdto compile, build & deploy your local app to your SAS target
Finally, click the link at the bottom of the console to launch!
For questions or support:
