Created
November 16, 2016 19:13
-
-
Save heukirne/a93cd5717e9bba3a46ef355e71dc927f to your computer and use it in GitHub Desktop.
Script to deploy fleetany-web
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
rm -rf ./fleetany-web | |
svn checkout https://github.com/alientronics/fleetany-web.git/trunk fleetany-web/ | |
cp configDir/php.ini fleetany-web/ | |
cp configDir/tpms-bkp/.htaccess fleetany-web/ | |
cp configDir/tpms-bkp/.htaccess-public fleetany-web/public/.htaccess | |
cp configDir/tpms-bkp/.env fleetany-web/ | |
cd fleetany-web | |
curl -sS https://getcomposer.org/installer | php7 -c php.ini | |
php7 -c php.ini composer.phar install --no-dev --no-scripts | |
php7 -c php.ini -e artisan vendor:publish --provider=Kodeine\\Acl\\AclServiceProvider | |
php7 -c php.ini -e artisan vendor:publish --provider=Alientronics\\FleetanyWebGeofence\\FleetanyWebGeofenceServiceProvider | |
php7 -c php.ini -e artisan vendor:publish --provider=Alientronics\\FleetanyWebDriver\\FleetanyWebDriverServiceProvider | |
php7 -c php.ini -e artisan vendor:publish --provider=Alientronics\\FleetanyWebAttributes\\FleetanyWebAttributesServiceProvider | |
php7 -c php.ini -e artisan vendor:publish --provider=Alientronics\\FleetanyWebAdmin\\FleetanyWebAdminServiceProvider | |
php7 -c php.ini -e artisan clear-compiled | |
php7 -c php.ini -e artisan optimize |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can you also share your
.htaccess
and.htaccess-public
files content?