Rewrote comments
This commit is contained in:
parent
89fa93bc56
commit
a992cb3f31
3
build.sh
3
build.sh
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue