gosora/install-linux

40 lines
859 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 the MSSQL Driver"
go get -u github.com/denisenkom/go-mssqldb
echo "Installing bcrypt"
go get -u golang.org/x/crypto/bcrypt
echo "Installing gopsutil"
go get -u github.com/Azareal/gopsutil
echo "Installing Gorilla WebSockets"
go get -u github.com/gorilla/websocket
echo "Installing Sourcemap (dependency for OttoJS)"
go get -u gopkg.in/sourcemap.v1
echo "Installing OttoJS"
go get -u github.com/robertkrimen/otto
echo "Installing the Rez Image Resizer"
go get -u github.com/bamiaux/rez
echo "Installing fsnotify"
go get -u github.com/fsnotify/fsnotify
echo "Building the installer"
cd ./install
go generate
go build -o Install
mv ./Install ..
cd ..
echo "Running the installer"
./Install