After you have developed an application, you can transfer
it from your development environment to a test or production environment.
About this task
You use the
mfpdev app pull command to send a copy
of the server-side configuration files for your app to your local computer. Then
you use the
mfpdev app push command to send it to another
MobileFirst Server. The
mfpdev app push command also registers the app on
the specified server.
You can also use these commands to transfer a runtime
configuration from one server to another.
The
configuration information includes the contents of the application descriptor,
which uniquely identifies the app to the server and other information that is
specific to the app. The configuration files are provided as compressed files
(.zip format). The .zip files are placed in the directory
appName/mobilefirst and named as
follows:
appID-platform-version-artifacts.zip
where
appID is the application name,
platform is
one of
android, ios, or
windows,
and
version is the version level of your app.
For Cordova apps, a separate .zip file is created for each
target platform.
When you use the mfpdev app push
command, the application's client properties file is modified to reflect the
profile name and URL of the new MobileFirst Server.
Results
The app's server-side configuration files are present on the
MobileFirst Server that
you specified in the
mfpdev app push command. The
app is registered to this new server.
What to do next
Test the app or deploy it on the
MobileFirst Server that
you have transferred it to.