Added supervisor install command to install script
This commit is contained in:
parent
3d9b207f67
commit
6016bb571c
|
@ -4,11 +4,9 @@ echo "=> Updating system"
|
||||||
pacman -Syu --noconfirm
|
pacman -Syu --noconfirm
|
||||||
|
|
||||||
echo "=> Installing python"
|
echo "=> Installing python"
|
||||||
# Install python
|
|
||||||
pacman -S python2 python2-pip python2-virtualenv --noconfirm
|
pacman -S python2 python2-pip python2-virtualenv --noconfirm
|
||||||
|
|
||||||
echo "=> Installing Postgresql"
|
echo "=> Installing Postgresql"
|
||||||
# Install postgresql
|
|
||||||
pacman -S postgresql --noconfirm
|
pacman -S postgresql --noconfirm
|
||||||
systemd-tmpfiles --create postgresql.conf
|
systemd-tmpfiles --create postgresql.conf
|
||||||
mkdir /var/lib/postgres/data
|
mkdir /var/lib/postgres/data
|
||||||
|
@ -18,24 +16,23 @@ systemctl start postgresql
|
||||||
systemctl enable postgresql
|
systemctl enable postgresql
|
||||||
|
|
||||||
echo "=> Installing nginx"
|
echo "=> Installing nginx"
|
||||||
# Install nginx
|
|
||||||
pacman -S nginx --noconfirm
|
pacman -S nginx --noconfirm
|
||||||
systemctl start nginx
|
systemctl start nginx
|
||||||
systemctl enable nginx
|
systemctl enable nginx
|
||||||
|
|
||||||
echo "=> Installing git"
|
echo "=> Installing git"
|
||||||
# Install git
|
|
||||||
pacman -S git --noconfirm
|
pacman -S git --noconfirm
|
||||||
|
|
||||||
|
echo "=> Installing supervisor"
|
||||||
|
pacman -S supervisor --noconfirm
|
||||||
|
|
||||||
echo "=> Installing nodejs and dependencies"
|
echo "=> Installing nodejs and dependencies"
|
||||||
# Install node & dependencies
|
|
||||||
pacman -S nodejs --noconfirm
|
pacman -S nodejs --noconfirm
|
||||||
npm install -g coffee-script
|
npm install -g coffee-script
|
||||||
npm install -g uglify-js
|
npm install -g uglify-js
|
||||||
npm install -g less
|
npm install -g less
|
||||||
|
|
||||||
echo "=> Creating user APP with its requirements"
|
echo "=> Creating user APP with its requirements"
|
||||||
# Create site user
|
|
||||||
useradd app
|
useradd app
|
||||||
mkdir /home/app
|
mkdir /home/app
|
||||||
chown app:app /home/app
|
chown app:app /home/app
|
||||||
|
|
Loading…
Reference in New Issue