rudrax/application

Script to deploy Rudrax on FTP server;

1.1.4 2015-07-20 16:21 UTC

This package is auto-updated.

Last update: 2024-12-07 22:28:35 UTC


README

and place this application folder in your project

FOR Normal Project

--deploy.php ``

include "application/App.php";

$server = $argv[1]; //First argument is config $password = $argv[2]; /////Optionsal Password

$app = new App();

$app->push($server,$password);

``

##ON-CONSOLE $ php deploy.php production

For RudraX project -

Note:- if you are using composer then you dont need to download it manually, it will automatically get downloaded in your verndor folder, but still you need to write deploy.php pointing to your this script_folder

Here is an example with RudraX Structured Project.

--deploy.php ``

include "lib/rudrax/application/App.php";

$server = $argv[1]; //First argument is config $password = $argv[2]; ///Optionsal Password

$app = new App();

$app->deploy($server,$password);

``

##ON-CONSOLE $ php deploy.php production