Note: For up-to-date product documentation, see the IBM MobileFirst Foundation Developer Center.
Creating and deploying updated web resources to MobileFirst Server
To make modified web resources available to deployed client Cordova applications, you package and upload them as an archive (.zip file) to the MobileFirst Server.
About this task
You use either MobileFirst Platform CLI or MobileFirst Operations Console to perform procedures on the updated web resources package:
- You can use MobileFirst Platform CLI commands to generate and upload the archive.
- You can use the MobileFirst Operations Console only to upload an existing archive.
Creating and deploying updated web resources to the default MobileFirst Server
Procedure
Creating and deploying updated web resources to a non-default MobileFirst Server
Procedure
Uploading a previously generated archive
Procedure
Run the command:
mfpdev app webupdate [server-name] [runtime-name] --file [path-to-packaged-web-resources]For example:
mfpdev app webupdate myQAServer MyBankApps --file mobilefirst/ios/com.mfp.myBankApp-1.0.1.zip