Skip to content

Deploy a newly created application

DanielBerman edited this page Aug 26, 2013 · 4 revisions

Introduction

The following example walks you through the steps for building new PHP application and deploying it to the selected target (Zend Server or phpCloud).

Prerequisites

  • Target with id = 0.

Commands

# create a new PHP project using a simple template
$ zend create project -n NewProject -t simple

# deploy the newly created application to the target with id = 0
$ zend deploy application -p NewProject -t 0

Details

The first command creates an example project named 'NewProject'. In this case, the 'simple' template used is based on a basic PHP project structure. As a result, a new PHP project is created in a current location. The second command is responsible for deploying the newly created application to the target with id equals to 0.