Last active
December 23, 2024 09:01
-
-
Save bigprof/59004eb6917b96ad2969c154dc86bf45 to your computer and use it in GitHub Desktop.
Example batch file to deploy a single AppGini app to multiple servers.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rem deploy.bat | |
rem This batch file is used to deploy a single AppGini app to multiple servers. | |
rem Change the following line to point to the .axp file of your app | |
set AXP_FILE="C:\users\johndoe\Documents\My Apps\example.axp" | |
rem Path to AppGini executable (change this if AppGini is installed in a different folder) | |
set APPGINI="C:\Program Files (x86)\AppGini\AppGini.exe" | |
rem Generate the app once | |
%APPGINI% --generate %AXP_FILE% | |
rem Deploy the app to each server (change the URLs to match your servers) | |
%APPGINI% --open %AXP_FILE% --deploy "https://server1.com/appfolder" | |
%APPGINI% --open %AXP_FILE% --deploy "https://server2.com" | |
%APPGINI% --open %AXP_FILE% --deploy "https://server3.org/example/appfolder" | |
%APPGINI% --open %AXP_FILE% --deploy "https://server4.com/appfolder" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment