Welcome Guest. Please Login or Register  


You are here: Index > Softaculous Auto Installer > General Support > Topic : add custom script with composer



Threaded Mode | Print  

 add custom script with composer, run custom script and execute composer inside it (1 Replies, Read 2540 times)
kingmagi
Group: Member
Post Group: Newbie
Posts: 1
Status:
Hi, im looking on custom script is there any idea you guys may help me, what i want to do is, i want to clone files from git then do the composer install for my custom script?.

i go through the guide on Making Custom Package but im not understand which part should i code to make the installation like copy files or clone files then will do the composer install after the copied is finish.
IP: --   

add custom script with composer
Brijesh
Group: Softaculous Team
Post Group: Super Member
Posts: 5647
Status:
Hi,

In the Making Custom Package guide refer to the install.php file :
http://www.softaculous.com/docs/developers/making-custom-package/#3-install-php

In install.php execute your commands using exec() function in the __install() function.

You can use the following variables to find the details :
http://www.softaculous.com/blog/docs/developers/making-custom-package/#explanation-of-important-variables

The path to installation will be at $__settings['softpath']

-----------------------
Webuzo - Multi User Hosting Control Panel
AMPPS - Best WordPress/PHP/MySQL development tool
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 19, 2024, 1:10 am.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.137