Fix build

This commit is contained in:
Dennis Eichhorn 2019-03-16 23:30:37 +01:00
parent 9db86574da
commit 4b906e0bb0
5 changed files with 9 additions and 8 deletions

View File

@ -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

View File

@ -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"

View File

@ -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

View File

@ -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

View File

@ -1,3 +0,0 @@
<?php
var_dump(extension_loaded('gd'));