1
0
Fork 0
mirror of synced 2024-05-26 03:51:15 -04:00
ovpn-admin/install-deps.sh

20 lines
370 B
Bash
Raw Normal View History

2021-10-05 11:09:29 -04:00
#!/usr/bin/env bash
2021-10-05 11:09:29 -04:00
apt-get update
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
export CGO_ENABLED=1