AppyJS is a javascript application launcher that allows you to manage multiple versions of your javascript application and makes it easy to work on a development version alongside a production version.
- Place each of the different versions of your app in their own folder, and place all of these folders together in a folder.
- In the AppyJS
builds.jsonfile...
- Change
buildsPathto point to your folder containing all the different versions of your app. - Add all your different app versions in the
buildsarray using the format shown in the samplebuilds.json.- Make sure to increment
buildNumberfor each version!
- Make sure to increment
- Change
releaseanddevelopmentvalues to the build number of the version you wish to use for the corresponding stage.- You may also add your own development stages here.
- Load the
appy.jsscript.
- Execute js code to start application
var appy = new AppyJS(function() {
// Set target application stage
appy.setTargetByStage("release");
// To set target application by build number:
// appy.setTargetByBuild(1); [where 1= build number of target app]
// Start application
appy.start();
});