ソースを参照

script fixes

pull/15/head
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 ~

読み込み中…
キャンセル
保存