-
Language:
English
-
Language:
English
13.3.2.4. Deploying from a Snapshot
The following instructions describe how to deploy an application from a snapshot. Note that an application can be deployed from a binary artifact.
Procedure 13.2. To Deploy From a Snapshot:
- Save an application snapshot to build a deployable .tar.gz artifact:
$
rhc save-snapshot App_Name --deployment
- Configure the application for binary artifact deployments:
$
Note that this command changes the application's deployment process and disables therhc configure-app App_Name --deployment-type binary
git push
command. - Deploy the application using the binary artifact that was created:
$
Alternatively, use the following command to deploy from a URL:rhc deploy ./app.tar.gz -a App_Name
$
rhc deploy http://foo.com/path/to/file.tar.gz -a App_Name