mirror of https://github.com/tteck/Proxmox.git
Compare commits
No commits in common. "d5ac9ed5b7f0de3b8148043dc4cb8c8f07b712e1" and "9487e5930365f732e1dd80113d027377be371a89" have entirely different histories.
d5ac9ed5b7
...
9487e59303
|
@ -23,7 +23,7 @@ var_disk="4"
|
||||||
var_cpu="2"
|
var_cpu="2"
|
||||||
var_ram="1024"
|
var_ram="1024"
|
||||||
var_os="debian"
|
var_os="debian"
|
||||||
var_version="12"
|
var_version="11"
|
||||||
variables
|
variables
|
||||||
color
|
color
|
||||||
catch_errors
|
catch_errors
|
||||||
|
|
|
@ -23,7 +23,7 @@ var_disk="6"
|
||||||
var_cpu="2"
|
var_cpu="2"
|
||||||
var_ram="2048"
|
var_ram="2048"
|
||||||
var_os="debian"
|
var_os="debian"
|
||||||
var_version="12"
|
var_version="11"
|
||||||
variables
|
variables
|
||||||
color
|
color
|
||||||
catch_errors
|
catch_errors
|
||||||
|
|
|
@ -24,7 +24,7 @@ var_disk="8"
|
||||||
var_cpu="2"
|
var_cpu="2"
|
||||||
var_ram="2048"
|
var_ram="2048"
|
||||||
var_os="debian"
|
var_os="debian"
|
||||||
var_version="12"
|
var_version="11"
|
||||||
variables
|
variables
|
||||||
color
|
color
|
||||||
catch_errors
|
catch_errors
|
||||||
|
@ -80,7 +80,6 @@ function update_script() {
|
||||||
cp -r /opt/paperless/paperless.conf paperless-ngx/
|
cp -r /opt/paperless/paperless.conf paperless-ngx/
|
||||||
cp -r paperless-ngx/* /opt/paperless/
|
cp -r paperless-ngx/* /opt/paperless/
|
||||||
cd /opt/paperless
|
cd /opt/paperless
|
||||||
sed -i 's/scipy==1.8.1/scipy==1.10.1/g' requirements.txt
|
|
||||||
sed -i -e 's|-e git+https://github.com/paperless-ngx/django-q.git|git+https://github.com/paperless-ngx/django-q.git|' /opt/paperless/requirements.txt
|
sed -i -e 's|-e git+https://github.com/paperless-ngx/django-q.git|git+https://github.com/paperless-ngx/django-q.git|' /opt/paperless/requirements.txt
|
||||||
pip install -r requirements.txt &>/dev/null
|
pip install -r requirements.txt &>/dev/null
|
||||||
cd /opt/paperless/src
|
cd /opt/paperless/src
|
||||||
|
|
|
@ -23,7 +23,7 @@ var_disk="4"
|
||||||
var_cpu="2"
|
var_cpu="2"
|
||||||
var_ram="1024"
|
var_ram="1024"
|
||||||
var_os="debian"
|
var_os="debian"
|
||||||
var_version="12"
|
var_version="11"
|
||||||
variables
|
variables
|
||||||
color
|
color
|
||||||
catch_errors
|
catch_errors
|
||||||
|
|
|
@ -24,7 +24,7 @@ var_disk="8"
|
||||||
var_cpu="2"
|
var_cpu="2"
|
||||||
var_ram="2048"
|
var_ram="2048"
|
||||||
var_os="debian"
|
var_os="debian"
|
||||||
var_version="12"
|
var_version="11"
|
||||||
variables
|
variables
|
||||||
color
|
color
|
||||||
catch_errors
|
catch_errors
|
||||||
|
|
|
@ -23,7 +23,7 @@ var_disk="4"
|
||||||
var_cpu="2"
|
var_cpu="2"
|
||||||
var_ram="1024"
|
var_ram="1024"
|
||||||
var_os="debian"
|
var_os="debian"
|
||||||
var_version="12"
|
var_version="11"
|
||||||
variables
|
variables
|
||||||
color
|
color
|
||||||
catch_errors
|
catch_errors
|
||||||
|
|
|
@ -23,7 +23,7 @@ var_disk="4"
|
||||||
var_cpu="2"
|
var_cpu="2"
|
||||||
var_ram="1024"
|
var_ram="1024"
|
||||||
var_os="debian"
|
var_os="debian"
|
||||||
var_version="12"
|
var_version="11"
|
||||||
variables
|
variables
|
||||||
color
|
color
|
||||||
catch_errors
|
catch_errors
|
||||||
|
|
|
@ -23,7 +23,7 @@ var_disk="4"
|
||||||
var_cpu="2"
|
var_cpu="2"
|
||||||
var_ram="1024"
|
var_ram="1024"
|
||||||
var_os="debian"
|
var_os="debian"
|
||||||
var_version="12"
|
var_version="11"
|
||||||
variables
|
variables
|
||||||
color
|
color
|
||||||
catch_errors
|
catch_errors
|
||||||
|
|
|
@ -18,20 +18,20 @@ $STD apt-get install -y curl
|
||||||
$STD apt-get install -y sudo
|
$STD apt-get install -y sudo
|
||||||
$STD apt-get install -y mc
|
$STD apt-get install -y mc
|
||||||
$STD apt-get install -y git
|
$STD apt-get install -y git
|
||||||
|
$STD apt-get install -y make
|
||||||
|
$STD apt-get install -y g++
|
||||||
|
$STD apt-get install -y gcc
|
||||||
msg_ok "Installed Dependencies"
|
msg_ok "Installed Dependencies"
|
||||||
|
|
||||||
msg_info "Installing Node.js (Patience)"
|
msg_info "Installing Node.js"
|
||||||
$STD apt-get install -y npm
|
$STD bash <(curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh)
|
||||||
$STD npm cache clean -f
|
. ~/.bashrc
|
||||||
$STD npm install -g n
|
$STD nvm install 16.20.1
|
||||||
$STD n 16.20.1
|
ln -sf /root/.nvm/versions/node/v16.20.1/bin/node /usr/bin/node
|
||||||
$STD npm install -g pnpm
|
|
||||||
ln -sf /usr/local/bin/node /usr/bin/node
|
|
||||||
msg_ok "Installed Node.js"
|
msg_ok "Installed Node.js"
|
||||||
|
|
||||||
msg_info "Installing Yarn"
|
msg_info "Installing Yarn"
|
||||||
$STD npm install --global yarn
|
$STD npm install --global yarn
|
||||||
ln -sf /usr/local/bin/yarn /usr/bin/yarn
|
|
||||||
msg_ok "Installed Yarn"
|
msg_ok "Installed Yarn"
|
||||||
|
|
||||||
msg_info "Installing Dashy (Patience)"
|
msg_info "Installing Dashy (Patience)"
|
||||||
|
|
|
@ -81,7 +81,6 @@ $STD tar -xf paperless-ngx-$Paperlessngx.tar.xz -C /opt/
|
||||||
mv paperless-ngx paperless
|
mv paperless-ngx paperless
|
||||||
rm paperless-ngx-$Paperlessngx.tar.xz
|
rm paperless-ngx-$Paperlessngx.tar.xz
|
||||||
cd /opt/paperless
|
cd /opt/paperless
|
||||||
sed -i 's/scipy==1.8.1/scipy==1.10.1/g' requirements.txt
|
|
||||||
## python 3.10+ doesn't like the '-e', so we remove it from this the requirements file
|
## python 3.10+ doesn't like the '-e', so we remove it from this the requirements file
|
||||||
sed -i -e 's|-e git+https://github.com/paperless-ngx/django-q.git|git+https://github.com/paperless-ngx/django-q.git|' /opt/paperless/requirements.txt
|
sed -i -e 's|-e git+https://github.com/paperless-ngx/django-q.git|git+https://github.com/paperless-ngx/django-q.git|' /opt/paperless/requirements.txt
|
||||||
$STD pip install --upgrade pip
|
$STD pip install --upgrade pip
|
||||||
|
|
Loading…
Reference in New Issue