Quellcode durchsuchen

script fixes

pull/15/head
samuel vor 1 Jahr
Ursprung
Commit
25bc29963b
1 geänderte Dateien mit 13 neuen und 8 gelöschten Zeilen
  1. 13
    8
      linux_setup.sh

+ 13
- 8
linux_setup.sh Datei anzeigen

@@ -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 ~

Laden…
Abbrechen
Speichern