Update ./install-linux to use the correct path to the installer.

This commit is contained in:
Azareal 2019-04-11 16:19:00 +10:00
parent d61ec9a6fe
commit 6128325696
2 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,7 @@
cd ./install
go generate
go build -o Installer
mv ./Installer ..
cd ..
go get -u github.com/mailru/easyjson/...
easyjson -pkg common
go get
go build -o Installer "./cmd/install"
./Installer --dbType=mysql --dbHost=localhost --dbUser=$MYSQL_USER --dbPassword=$MYSQL_PASSWORD --dbName=$MYSQL_DATABASE --shortSiteName=$SITE_SHORT_NAME --siteName=$SITE_NAME --siteURL=$SITE_URL --serverPort=$SERVER_PORT--secureServerPort=$SECURE_SERVER_PORT

View File

@ -4,7 +4,7 @@ easyjson -pkg common
go get
echo "Building the installer"
go build -o Installer "./install"
go build -o Installer "./cmd/install"
echo "Running the installer"
./Installer