mirror of
https://github.com/sakaljurgis/kobo.git
synced 2026-07-08 22:17:42 +00:00
dont watch for prod env
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user