mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
updated install script to match debian 11
This commit is contained in:
parent
acd04b3432
commit
268d8b6ed1
@ -9,9 +9,13 @@ sudo apt-get install -y mariadb-server
|
|||||||
|
|
||||||
# Install nginx
|
# Install nginx
|
||||||
sudo apt-get install -y nginx
|
sudo apt-get install -y nginx
|
||||||
|
cd /etc/nginx/sites-enabled # TODO change directory again
|
||||||
|
sudo rm default
|
||||||
|
sudo ln -s /home/gradido/gradido/deployment/bare_metal/nginx/sites-available/gradido.conf gradido.conf
|
||||||
|
|
||||||
# Install yarn
|
# Install yarn
|
||||||
sudo apt-get install -y curl
|
sudo apt-get install -y curl
|
||||||
|
sudo apt-get install -y gnupg
|
||||||
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
|
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
|
||||||
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
|
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
@ -20,6 +24,7 @@ sudo apt-get install -y yarn
|
|||||||
# Install node 16.x
|
# Install node 16.x
|
||||||
curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -
|
curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -
|
||||||
sudo apt-get install -y nodejs
|
sudo apt-get install -y nodejs
|
||||||
|
sudo apt-get install -y build-essential
|
||||||
|
|
||||||
# Install pm2
|
# Install pm2
|
||||||
sudo yarn global add pm2
|
sudo yarn global add pm2
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user