-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathinit_packages.sh
40 lines (33 loc) · 1.21 KB
/
init_packages.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/usr/bin/env bash
apt-get install -y redis-server \
supervisor \
pngquant \
composer \
nodejs-dev \
node-gyp \
libssl1.0-dev \
npm
# Required for puppeteer to work
apt-get install -y libxdamage-dev \
libnss3-dev \
libgdk-pixbuf2.0-dev \
libgtk-3-dev \
libxss-dev \
libasound2
npm install -g laravel-echo-server handlebars cross-env dotenv
cd /tmp || exit
# Required for cargo, which is required for cli-weakauras-parser
curl https://sh.rustup.rs -sSf | sh -s -- -y
# Temp fix so that cargo works https://github.com/rust-lang/rustup/issues/686#issuecomment-272023791
export PATH="$HOME/.cargo/bin:$PATH"
# cli-weakauras-parser requires cmake..
# https://vitux.com/how-to-install-cmake-on-ubuntu-18-04/
wget https://github.com/Kitware/CMake/releases/download/v3.19.2/cmake-3.19.2.tar.gz
tar -zxvf cmake-3.19.2.tar.gz
cd cmake-3.19.2 || exit
./bootstrap
make
sudo make install
cmake --version
cargo install --git https://github.com/Zireael-N/cli-weakauras-parser.git
ln -s ~/.cargo/bin/cli_weakauras_parser /usr/bin/cli_weakauras_parser