gosora/install-linux
Azareal bf851bd9fc We now use Go 1.11 modules. This should help with build times, deployment and development, although it does mean that the minimum requirement for Gosora has been bumped up from Go 1.10 to Go 1.11
Added support for dyntmpl to the template system.
The Account Dashboard now sort of uses dyntmpl, more work needed here.
Renamed the pre_render_view_topic hook to pre_render_topic.
Added the GetCurrentLangPack() function.
Added the alerts_no_new_alerts phrase.
Added the account_level_list phrase.

Refactored the route rename logic in the patcher to cut down on the amount of boilerplate.
Added more route renames to the patcher. You will need to run the patcher / updater in this commit.
2018-10-27 13:40:36 +10:00

49 lines
1.0 KiB
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 Argon2"
go get -u golang.org/x/crypto/argon2
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 Caire"
go get -u github.com/esimov/caire
echo "Installing some error helpers"
go get -u github.com/pkg/errors
echo "Installing fsnotify"
go get -u github.com/fsnotify/fsnotify
echo "Building the installer"
cd ./install
go generate
go build -o Installer
mv ./Installer ..
cd ..
echo "Running the installer"
./Installer