How To : Managing a Deployed Application
Contents |
[edit] Description
This document describes how to manage a deployed application.
[edit] Prerequisites
Understanding Application Posting and Deployment
Deploying Your Application
[edit] Procedures
[edit] Accessing a Deployed Application
To access a deployed application:
- At the top of the Builder, select the Staging tab.
- Under Production, expand your DesignGroup and select an AppProject.
- Under Deployments, select a deployed application.
- In the bottom section of the window, expand Deployment Settings.
- Tip To quickly see all deployed applications for an AppProject, under Production, select AppProject. Under Deployments, all the deployed applications appear.
[edit] Adding Deployment Arguments
You can customize your deployments by adding deployment arguments to deployed applications.
To add deployment arguments
- Complete the steps in the Accessing a Deployed Application procedure above.
- On the far right of the Deployment Settings pane, click Deploy Arguments.
- In the View Deployment Arguments window, click Add.
- In the Key field, type the key you want. In the Value field, type the value you want to retrieve using the key.
- Add as many key-value pairs as you want.
- Click OK.
- To see the results of your changes, access your deployed application at the URL you have assigned your application.
[edit] Updating a Deployed Application
To Update a Deployed Application:
- Complete the steps in the Accessing a Deployed Application procedure above.
- In the Revision Management pane, in the Select A Post of this Application box in the Post Name column, select the version of your application you want the deployment to "point" to.
- If you want, under Deployment Name, change the name. Likewise, if you want, under Application URL, change the URL.
- Click Update.
[edit] Activating/Deactivating a Deployed Application
To activate/deactivate a deployed application:
- Complete the steps in the To access a deployed application: procedure above.
- When you deploy an application, by default, the Deploment Is Active checkbox in the Revision Management pane is selected. To deactivate a deployed application, in the Select A Post of this Application box, select the deployed application, and directly below the words Revision Management, remove the check mark from Deployment Is Active.
- Click Update.
[edit] Assigning a URL to a Deployed Application
To assign a URL to a deployed application:
Near the bottom of the window is Application URL. This is the URL your users use to access your Bungee-powered application. By default, the URL is a long URL automatically generated with bungeelabs.com as the domain. Alternatively, a domain managed by you could be used. A C-Name record that points to run.bungeelabs.com, must be added to the DNS for your domain. You can create one C-name and then use a path to differentiate between deployments (e.g., http://bungee.mydomain.com/app1, …/app2, etc.) or you can create separate C-Name records for every application, (e.g., http://bungeeapp1.mydomain.com, http://bungeeapp2...., etc.). When a user enters this URL into their browser, the request is forwarded by your DNS server to the Bungee Grid servers. A Bungee Grid server inspects the path and sub-domain the request was looking for and matches it to the deployed application identified with the same url.
[edit] Making an Application Available to End Users
To make an application available to end users:
- There are two ways you can make your application available to end users: as a stand-alone Web page or embedded into an HTML Web page. To make the application available as a stand-alone application, simply post the URL specified during the deployment phase to your end users.
- To embed the application into an HTML page, add an IFRAME into the page that points to the URL specified during the deployment step.
[edit] Error Handling
[edit] Examples
See the Hello Bungee Connect tutorial.
[edit] Next Steps
[edit] Tags
Categories: HOW TO | Deploy | Posting