Deploy

There are multiple ways how you can deploy code to Azure+ and you can switch between them at any time.

Pulling code from a repository

You can configure a Git repository we are going to pull code from every minute or so. Once we find new commits they are going to be automatically deployed to the cloud.

Push code directly

If you want, you can also push code directly to the cloud by either using the script we provide (you will see it in the app page) or just by pushing directly to our API. It's probably the fastest way to test things out and allows you to update live instance in seconds. What is more, you can integrate that with your build scripts.

Rapid development

Cloud deployments are going to be updated in less than 5 seconds from the time new code is pushed out. Furthemore, you can change PHP version, running mode, app root and deployment source at any time and those are going to be reflected in your app just as fast.

Geo location

Your app can be deployed to one of the six datacenters:

PHP version

Choose from either PHP 5.3 (recommended) or PHP 5.2.

Production vs development

There are two modes you can use for your app: production and development. Production mode disables error reporting for both PHP and web server, while development leaves them turned on so you could more easily debug why yoru application is not working.

Application root

You can specify where your public files are by setting app root to public/ for example, which will make the public folder the only publicly accessible folder. Furthermore, by setting it to public/index.php all requests not matching an existing filename will be routed through the index.php file. In both cases if you try to load http://example.cloudapp.net/styles.css it's going to be looked for at public/styles.css.

Here are some examples for some popular web frameworks:

Logging

All actions with your app are logged, so you can easily see when and what was changed or when the latest deployment was pushed.