diff --git a/install-docker b/install-docker index 08061d69..3fd5e6cb 100644 --- a/install-docker +++ b/install-docker @@ -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 \ No newline at end of file diff --git a/install-linux b/install-linux index ecf503e3..2c4362b7 100644 --- a/install-linux +++ b/install-linux @@ -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