Added SASS thingies to install.sh script
This commit is contained in:
parent
c9eeb45025
commit
19db8c9f7d
|
@ -3,6 +3,15 @@
|
||||||
echo "=> Updating system"
|
echo "=> Updating system"
|
||||||
pacman -Syu --noconfirm
|
pacman -Syu --noconfirm
|
||||||
|
|
||||||
|
echo "=> Creating user APP with its requirements"
|
||||||
|
useradd app
|
||||||
|
mkdir /home/app
|
||||||
|
chown app:app /home/app
|
||||||
|
su - app -c "mkdir conf"
|
||||||
|
su - app -c "touch ./conf/app_version"
|
||||||
|
su - app -c "touch .environment"
|
||||||
|
su - app -c "echo 'source .environment' > .bash_profile"
|
||||||
|
|
||||||
echo "=> Installing python"
|
echo "=> Installing python"
|
||||||
pacman -S python2 python2-pip python2-virtualenv --noconfirm
|
pacman -S python2 python2-pip python2-virtualenv --noconfirm
|
||||||
|
|
||||||
|
@ -34,14 +43,9 @@ 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 "=> Installing ruby and dependencies"
|
||||||
useradd app
|
pacman -S ruby --noconfirm
|
||||||
mkdir /home/app
|
su - app -c "gem install sass"
|
||||||
chown app:app /home/app
|
|
||||||
su - app -c "mkdir conf"
|
|
||||||
su - app -c "touch ./conf/app_version"
|
|
||||||
su - app -c "touch .environment"
|
|
||||||
su - app -c "echo 'source .environment' > .bash_profile"
|
|
||||||
|
|
||||||
# Reminders
|
# Reminders
|
||||||
echo "[REMEMBER!]"
|
echo "[REMEMBER!]"
|
||||||
|
@ -49,3 +53,4 @@ echo " - Create ssh keypair for the app user."
|
||||||
echo " - Configure sudo to let app user execute the maintenance scripts."
|
echo " - Configure sudo to let app user execute the maintenance scripts."
|
||||||
echo " - Configure supervisor to include the app configuration."
|
echo " - Configure supervisor to include the app configuration."
|
||||||
echo " - Configure nginx to include the app configuration."
|
echo " - Configure nginx to include the app configuration."
|
||||||
|
echo " - Add ruby PATH to .environment on app user!"
|
||||||
|
|
Loading…
Reference in New Issue