瀏覽代碼

script fixes

master
samuel 1 年之前
父節點
當前提交
25bc29963b
共有 1 個文件被更改,包括 13 次插入8 次删除
  1. 13
    8
      linux_setup.sh

+ 13
- 8
linux_setup.sh 查看文件

@@ -1,6 +1,6 @@

#STORE GIT CREDENTIALS IN CACHE
sudo apt install git
git config --global credential.helper store
git config --global credential.helper 'store --file ~/.git-credentials'
echo "Enter git username: "
@@ -11,19 +11,24 @@ read gitPassword
echo "password=$gitPassword" >> ~/.git-credentials
chmod 0600 ~/.git-credentials

sudo apt update
# Install prerequisites
#NODE JS 16.17.1
wget https://nodejs.org/dist/v16.17.1/node-v16.17.1-linux-x64.tar.xz
tar -xf node-v16.17.1-linux-x64.tar.xz
# Move the extracted folder to /usr/local/lib
sudo mv node-v16.17.1-linux-x64 /usr/local/lib/
# Create a symbolic link to the node executable
sudo ln -s /usr/local/lib/node-v16.17.1-linux-x64/bin/node /usr/local/bin/node
node -v

# Install prerequisites for dev environment
sudo apt install python2
# sudo apt install build-essential
# sudo apt install -y make
sudo apt install nodejs
sudo apt install npm
#NPM
sudo yum install npm


#INSTALLING NODE JS
npm install -g pm2
npm install -g ember-cli
npm install -g loopback-cli

#PRODUCTION A SETUP
cd ~

Loading…
取消
儲存