21 lines
503 B
Plaintext
21 lines
503 B
Plaintext
echo "Installing the MySQL Driver"
|
|
go get -u github.com/go-sql-driver/mysql
|
|
echo "Installing the PostgreSQL Driver"
|
|
go get -u github.com/lib/pq
|
|
echo "Installing bcrypt"
|
|
go get -u golang.org/x/crypto/bcrypt
|
|
echo "Installing gopsutil"
|
|
go get -u github.com/shirou/gopsutil
|
|
echo "Installing Gorilla WebSockets"
|
|
go get -u github.com/gorilla/websocket
|
|
|
|
echo "Preparing the installer"
|
|
go generate
|
|
go build -o Gosora
|
|
cd ./install
|
|
go build -o Install
|
|
mv ./Install ..
|
|
cd ..
|
|
|
|
echo "Running the installer"
|
|
./Install |