Rewrote comments

This commit is contained in:
Maxi Redigonda 2019-10-07 17:43:05 -03:00
parent 89fa93bc56
commit a992cb3f31
1 changed files with 3 additions and 0 deletions

View File

@ -1,6 +1,8 @@
echo "1/3 Building frontend..."
cd client cd client
npm run build npm run build
rm build/index.html rm build/index.html
echo "2/3 Creating api folder..."
cd ../server cd ../server
composer install composer install
echo -n > config.php echo -n > config.php
@ -22,6 +24,7 @@ cp server/vendor api
cp server/files api cp server/files api
cp server/config.php api cp server/config.php api
cp client/src/index.php client/build cp client/src/index.php client/build
echo "3/3 Generating zip..."
cd client/build cd client/build
zip opensupports_dev.zip index.php zip opensupports_dev.zip index.php
zip -u opensupports_dev.zip .htaccess zip -u opensupports_dev.zip .htaccess