1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/abantecart_ynh.git synced 2024-09-03 18:06:16 +02:00

Update install

This commit is contained in:
frju365 2017-01-30 19:58:28 +01:00 committed by GitHub
parent 57a25be693
commit 63fe0a5903

View file

@ -48,23 +48,23 @@ fi
# Copy files to the right place
final_path=/var/www/$app
sudo git clone https://github.com/abantecart/abantecart-src.git /var/www/$app
sudo rm -rf $final_path/test
sudo rm -rf $final_path/tests
sudo rm -rf $final_path/install.txt
sudo mv $final_path/public_html/* ..
sudo mv $final_path/public_html/* $final_path/
sudo rm -rf $final_path/public_html
cd $final_path/install/
sudo php cli_install.php install
--db_hostname localhost
--db_username $dbuser
--db_password $dbpass
--db_database $dbname
--db_driver mysqli
--db_port 3306
--username $user
--password $passwd
--email $email
--http_server $path
sudo php cli_install.php install \
--db_hostname localhost \
--db_username $dbuser \
--db_password $dbpass \
--db_database $dbname \
--db_driver mysqli \
--db_port 3306 \
--username $user \
--password $passwd \
--email $email \
--http_server $path \
# Files owned by root, www-data can just read