2018-01-31 07:40:51 +01:00
|
|
|
#!/usr/bin/env bash
|
2019-04-02 00:03:52 +02:00
|
|
|
cd /liftinstall || exit 1
|
2018-01-31 07:40:51 +01:00
|
|
|
|
2019-06-25 08:01:11 +02:00
|
|
|
# setup NodeJS
|
|
|
|
curl -sL https://deb.nodesource.com/setup_12.x | bash -
|
|
|
|
# setup Yarn
|
|
|
|
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
|
|
|
|
echo "deb https://dl.yarnpkg.com/debian/ stable main" > /etc/apt/sources.list.d/yarn.list
|
|
|
|
|
2019-04-02 00:03:52 +02:00
|
|
|
apt-get update
|
2019-06-25 08:01:11 +02:00
|
|
|
apt-get install -y libwebkit2gtk-4.0-dev libssl-dev nodejs yarn
|
|
|
|
|
|
|
|
yarn --cwd ui
|
2018-01-31 07:40:51 +01:00
|
|
|
|
|
|
|
cargo build
|