1
0
mirror of https://github.com/flant/ovpn-admin.git synced 2024-12-12 08:44:07 +02:00
ovpn-admin/install-deps.sh

20 lines
370 B
Bash
Raw Normal View History

2021-10-05 17:09:29 +02:00
#!/usr/bin/env bash
2021-10-05 17:09:29 +02: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 17:09:29 +02: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