b32e8d6c21
Split ops.log into ops.log and requests.log Moved the logs into the logs directory. Moved more password validation logic in the registration route into WeakPassword(). Tweaked the WeakPassword algorithm to cover more cases and to reduce the number of false positives. Fixed the error grammer in WeakPassword now that the linter isn't bothering me about that anymore. Fixed BuildGuildURL(). Removed some commented logging logic. Bad requests are no longer logged to the console. All bad routes are logged now. We now track the instance uptime on the Control Panel Debug Page. Added the executables for Linux to the .gitignore file. Added GopherJS as a dependency. Began work on transpiling WeakPassword to JavaScript in use in the client-side logic.
46 lines
991 B
Plaintext
46 lines
991 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 "Installing Go Git"
|
|
go get -u gopkg.in/src-d/go-git.v4/...
|
|
|
|
echo "Installing GopherJS"
|
|
go get -u github.com/gopherjs/gopherjs
|
|
|
|
echo "Building the installer"
|
|
cd ./install
|
|
go generate
|
|
go build -o Install
|
|
mv ./Install ..
|
|
cd ..
|
|
|
|
echo "Running the installer"
|
|
./Install
|