Skip to content

RomeoLB/BACon-BS-node-player-workflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BACon-BS-node-player-workflow

Setup a simple Node.js Dev environment for generating a zip file to be published from BA:Connected

How to setup a VSCode Dev environment for node to generate a pluginNodeApp.zip to be used with a BACon presentation?

  • Unzip the file NodeAppShareToTest.zip

    NodeAppShareToTest.zip

  • From the terminal in the folder where the zip file has been unzipped run

  npm install
  • From the src folder make some changes to the source code in index.js

  • Run the command below to generate the "pluginNodeApp.zip" in the "dist" folder

  npx webpack --config webpack.config.js" 
  • The newly build pluginNodeApp.zip can now be published to your player via BA by going to "Presentation Settings > Files > Navigate to the path where the pluginNodeApp.zip file has been generated in the "dist" folder.

  • Publish your presentation to deploy the latest pluginNodeApp.zip package

How to Publish a BACon presentation with a script plugin?

  • Download and unzip the “Simple_BACon_Node_pluginNodeApp.zip” file to a folder on your PC

    Simple_BACon_Node_pluginNodeApp.zip

  • Launch BACon (Windows or Mac client) and open the exported presentation by going to File > Open, then navigate to the SimpleNodeAppPlugin.bpfx project file.

  • Once opened check that both the “pluginNodeApp.zip” file and the “Script plugin “node-app-plugin.brs” are properly linked in the presentation. If you have built a new “pluginNodeApp.zip” package, make sure that you set the path for your own pluginNodeApp.zip under “Files > pluginNodeApp.zip”

  • Publish the presentation to your test player.

image

About

Setup a simple Node.js Dev environment for generating a zip file to be published from BA:Connected

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors