| #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 | #INSTALLING NODE JS | ||||
| cd ~ | cd ~ | ||||
| curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | ||||
| # read nodeversion | # read nodeversion | ||||
| # nvm install $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 | #PRODUCTION A SETUP | ||||
| cd ~ | cd ~ | ||||
| cd Desktop | cd Desktop |