mirror of
https://github.com/sakaljurgis/kobo.git
synced 2026-07-08 22:17:42 +00:00
21 lines
399 B
Bash
21 lines
399 B
Bash
#!/bin/bash
|
|
|
|
# install calibre
|
|
echo "Installing calibre"
|
|
apt-get update -y
|
|
apt-get install -y libopengl0
|
|
apt-get install -y libegl1
|
|
wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sh /dev/stdin
|
|
|
|
# npm install
|
|
echo "Installing dependencies"
|
|
npm install
|
|
|
|
if [ "$NODE_ENV" == "production" ]; then
|
|
echo "Running prod"
|
|
npm run prod
|
|
else
|
|
echo "Running dev"
|
|
npm run dev
|
|
fi
|