Pārlūkot izejas kodu

Updated server setup script

master
Steffan JJ pirms 1 gada
vecāks
revīzija
cc09dd81b6
1 mainītis faili ar 15 papildinājumiem un 9 dzēšanām
  1. 15
    9
      trias/Server/trias_appserver_script.sh

+ 15
- 9
trias/Server/trias_appserver_script.sh Parādīt failu

@@ -8,14 +8,12 @@ nvm install v16.19.1
node --version
npm --version
npm install -g @angular/cli
npm install pm2
npm install -g pm2
pm2 install typescript
# echo "Enter the version of node you want to install: (Example. 'v16.19.1')"
# read nodeversion
# nvm install $nodeversion

#ADDING GIT DOMAIN NAME TO HOSTS
# echo "10.10.5.77 git.bbh.org.in" >> /etc/hosts

#PRODUCTION A SETUP
cd ~
cd Desktop
@@ -41,8 +39,8 @@ git checkout production
npm i

cd ..
git clone http://git.bbh.org.in/chess/elixir-config-development
cd elixir-config-development
git clone http://git.bbh.org.in/chess/elixir-config-production
cd elixir-config-production
git checkout production
npm i

@@ -52,6 +50,10 @@ cd processmanager
git checkout production
npm i

#TO CREATE SYMLINK
cd ..
ln -s elixir-config-production/ config

#PRODUCTION B SETUP
cd ~
cd Desktop
@@ -76,8 +78,8 @@ git checkout production
npm i

cd ..
git clone http://git.bbh.org.in/chess/elixir-config-development
cd elixir-config-development
git clone http://git.bbh.org.in/chess/elixir-config-production
cd elixir-config-production
git checkout production
npm i

@@ -85,4 +87,8 @@ cd ..
git clone http://git.bbh.org.in/chess/processmanager
cd processmanager
git checkout production
npm i
npm i

#TO CREATE SYMLINK
cd ..
ln -s elixir-config-production/ config

Notiek ielāde…
Atcelt
Saglabāt