mirror of
https://github.com/Karaka-Management/Build.git
synced 2026-01-11 11:48:40 +00:00
Fix build
This commit is contained in:
parent
9db86574da
commit
4b906e0bb0
|
|
@ -6,7 +6,6 @@
|
|||
# Setting up database for demo and testing
|
||||
mysql -e 'drop database if exists oms;' -u ${DB_USER} -p${DB_PASSWORD}
|
||||
mysql -e 'create database oms;' -u ${DB_USER} -p${DB_PASSWORD}
|
||||
#echo "USE mysql;\nUPDATE user SET password=PASSWORD('123456') WHERE user='root';\nFLUSH PRIVILEGES;\n" | mysql -u root
|
||||
|
||||
# Build js
|
||||
#. Js/build.sh
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ MAIL_ADDR=""
|
|||
|
||||
# Authentications
|
||||
DB_USER="root"
|
||||
DB_PASSWORD="123456"
|
||||
DB_PASSWORD=""
|
||||
|
||||
# Git variables
|
||||
GITHUB_URL[0]="https://github.com/Orange-Management/Orange-Management.git"
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@ apt-get install npm git php7.2 php7.2-cli php7.2-common php7.2-mysql php7.2-pgsq
|
|||
# USE mysql;
|
||||
# mysql < 5.7
|
||||
# UPDATE user SET plugin='mysql_native_password' WHERE User='root';
|
||||
# UPDATE user SET password=PASSWORD("") WHERE User='root';
|
||||
# FLUSH PRIVILEGES;
|
||||
# exit;
|
||||
# else mysql >= 5.7
|
||||
|
|
@ -59,12 +60,12 @@ sudo useradd -d /home/test -g mail -u 1001 -s /bin/bash test
|
|||
# npm
|
||||
npm install -D jasmine jasmine-node istanbul jasmine-console-reporter supertest jasmine-supertest
|
||||
|
||||
systemctl restart apache2
|
||||
|
||||
# FTP
|
||||
apt-get install vsftpd
|
||||
|
||||
# /etc/vstftpd.conf
|
||||
# write_enable=YES
|
||||
# anon_upload_enable=YES
|
||||
# connect_from_port_20=NO
|
||||
# connect_from_port_20=NO
|
||||
|
||||
systemctl restart apache2
|
||||
4
setup.sh
4
setup.sh
|
|
@ -25,6 +25,10 @@ do
|
|||
git clone -b ${GIT_BRANCH} $i
|
||||
done
|
||||
|
||||
cd ${BASE_PATH}/Website
|
||||
git submodule update --init --recursive
|
||||
git submodule foreach git checkout develop
|
||||
|
||||
cd ${ROOT_PATH}
|
||||
git submodule update --init --recursive
|
||||
git submodule foreach git checkout develop
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user