|
|
@ -14,8 +14,6 @@ mkdir -p $DEV/wwwlogs |
|
|
|
mkdir -p $DEV/backup/database |
|
|
|
mkdir -p $DEV/backup/database |
|
|
|
mkdir -p $DEV/backup/site |
|
|
|
mkdir -p $DEV/backup/site |
|
|
|
|
|
|
|
|
|
|
|
brew install libzip bzip2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# install brew |
|
|
|
# install brew |
|
|
|
if [ ! -f /usr/local/bin/brew ];then |
|
|
|
if [ ! -f /usr/local/bin/brew ];then |
|
|
|
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" |
|
|
|
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" |
|
|
@ -23,6 +21,8 @@ if [ ! -f /usr/local/bin/brew ];then |
|
|
|
brew install mysql |
|
|
|
brew install mysql |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
brew install libzip bzip2 gcc |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if [ ! -d $DEV/server/mdserver-web ]; then |
|
|
|
if [ ! -d $DEV/server/mdserver-web ]; then |
|
|
|
wget -O /tmp/master.zip https://codeload.github.com/midoks/mdserver-web/zip/master |
|
|
|
wget -O /tmp/master.zip https://codeload.github.com/midoks/mdserver-web/zip/master |
|
|
|