-
Notifications
You must be signed in to change notification settings - Fork 2
Deploy a newly created application
DanielBerman edited this page Aug 26, 2013
·
4 revisions
The following example walks you through the steps for building new PHP application and deploying it to the selected target (Zend Server or phpCloud).
- Target with id = 0.
# 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
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.