#!/bin/shgit
echo `pwd`github
echo $1web
if [ ! -n "$1" ] ;thencomposer
echo "you have not input a word!"input
elseit
echo "the word you input is $1"im
git clone https://www.github.com/305806761/babyfs.git $1touch
if [ "$2" = "ln" ]word
thenruntime
rm -fr v1
ln -s $1 v1
fi
cd $1
chmod -R 777 runtime
chmod -R 777 web/assets
mkdir -p web/uploads/user_course
touch web/uploads/user_course/uploadFile.xlsx
chmod -R 777 web/uploads
composer install
fi