How to install Pype


Last updated February 28th, 2016

Configure

First, you need to generate the initial configuration by running the following command in a console:

dep local-config local

You can ignore the warning because the script will not find any file to overwrite since it is the first time.

The script generates web.php and console.php files in the config directory, the index.php and deploy.php script in web and Gulpfile.js and yii at the project root, using the values that you previously entered into your servers.yml configuration file.

Composer and Node

Now, you need to install the dependencies:

Composer

Composer and asset manager instructions here.

composer install

Node

npm install

Gulp and Browsersync instructions here..

Building

To finish the initialization process, we need to build the assets:

gulp build

Deploy

Now, that we have generated the necessary code and built our project, we are ready to deploy:

dep deploy production

Deploy


Edit on Github

Contributors to this page