Page 4 of 4

Re: Vesta Automatic App Installer [Version 1.0]

Posted: Wed May 06, 2015 1:33 pm
by patstan
If you can create a GENERAL tutorial on making other software/scripts functional to your app installer program, then im willing to help with this.

Re: Vesta Automatic App Installer [Version 1.0]

Posted: Fri May 08, 2015 6:51 pm
by hafeezksa
patstan wrote:If you can create a GENERAL tutorial on making other software/scripts functional to your app installer program, then im willing to help with this.
Why you not use a simple way to add more apps it will not create database auto but it is also easy way.
For example if I want to add Opencart,
1- I will upload it as zip without subfolder to : /usr/local/vesta/appinstaller/scripts
2- edit dashboard.html and add OpenCart there in apps list.
3- Edit scripts.sh file /usr/local/vesta/appinstaller/scripts.sh and add below code there

Code: Select all

 function INSTALL_OpenCart() {
  unzip -qnd $APPI_USER_INSTALLDIR $APPI/$APPI_USER_PACKAGE\*.zip  
  mv $APPI_USER_INSTALLDIR"config-dist.php" $APPI_USER_INSTALLDIR"config.php"  
    if [ ! -f $APPI_USER_INSTALLDIR"config.php" ]; then 
        echo "Installation Issue: Unable to Locate Config file."
        BASE_BD_INSTALL $E_INVALID
    fi 
}
Now Just open your domain url where you install already opencart and flow the instructions but create a database first and keep DB info with you.

Re: Vesta Auto App Installer [Version 1.0 OUTDATED]

Posted: Tue Jun 09, 2015 11:46 pm
by flacosa
from where I downloaded the appinstaller.zip ?
app installer works in Vesta 0.9.8-14 ?

thanks

Re: Vesta Auto App Installer [Version 1.0 OUTDATED]

Posted: Wed Jun 10, 2015 5:23 am
by hafeezksa
flacosa wrote:from where I downloaded the appinstaller.zip ?
app installer works in Vesta 0.9.8-14 ?

thanks
check here
http://forum.vestacp.com/viewtopic.php?f=19&t=8523

Re: Vesta Auto App Installer [Version 1.0 OUTDATED]

Posted: Wed Jun 10, 2015 6:44 am
by skurudo
Well, let's lock this topic for good.