2021-10-05 11:09:29 -04:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
2021-10-15 00:54:24 -04:00
|
|
|
|
2021-10-05 11:09:29 -04:00
|
|
|
apt-get update
|
2021-10-15 00:54:24 -04:00
|
|
|
apt-get install -y curl
|
|
|
|
apt-get install -y gcc-multilib libc6-dev-i386 linux-libc-dev:i386
|
|
|
|
|
|
|
|
curl -sL https://deb.nodesource.com/setup_14.x | sudo bash -
|
|
|
|
apt-get install -y nodejs
|
2021-10-05 11:09:29 -04:00
|
|
|
|
|
|
|
PATH=$PATH:~/go/bin
|
|
|
|
|
|
|
|
go get -u github.com/gobuffalo/packr/v2/packr2
|
|
|
|
|
|
|
|
cd frontend && npm install && npm run build && cd ..
|
|
|
|
|
|
|
|
packr2
|
|
|
|
|
2021-10-15 00:54:24 -04:00
|
|
|
export CGO_ENABLED=1
|