浏览代码

Updated appserver setup script

pull/14/head
Steffan JJ 1年前
父节点
当前提交
a743f5a44f
共有 1 个文件被更改,包括 13 次插入13 次删除
  1. 13
    13
      trias/Server/trias_appserver_script.sh

+ 13
- 13
trias/Server/trias_appserver_script.sh 查看文件

@@ -1,16 +1,3 @@
#STORE GIT CREDENTIALS IN CACHE
git config --global credential.helper store
# git config --global credential.helper 'store --file ~/.git-credentials'
# echo "Enter git username: "
# read gitUser
# git config --global user.name '${gitUser}'
# echo "username=$gitUser" >> ~/.git-credentials
# echo "Enter git password: "
# read gitPassword
# git config --global user.password '${gitPassword}'
# echo "password=$gitPassword" >> ~/.git-credentials
# chmod 0600 ~/.git-credentials

#INSTALLING NODE JS
cd ~
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh
@@ -26,6 +13,19 @@ npm install -g pm2
# read nodeversion
# nvm install $nodeversion

#STORE GIT CREDENTIALS IN CACHE
git config --global credential.helper store
# git config --global credential.helper 'store --file ~/.git-credentials'
# echo "Enter git username: "
# read gitUser
# git config --global user.name '${gitUser}'
# echo "username=$gitUser" >> ~/.git-credentials
# echo "Enter git password: "
# read gitPassword
# git config --global user.password '${gitPassword}'
# echo "password=$gitPassword" >> ~/.git-credentials
# chmod 0600 ~/.git-credentials

#PRODUCTION A SETUP
cd ~
cd Desktop

正在加载...
取消
保存