Skip to content
Snippets Groups Projects
Commit 7ae9ec6a authored by bfsc19's avatar bfsc19 :flushed:
Browse files

adicionado vue.sh

parent f83e75b4
No related branches found
No related tags found
No related merge requests found
cd /var/www/saber/
git pull
date > data_atualizacao.txt
date > data_atualizacao.txt
\ No newline at end of file
vue.sh 0 → 100755
#!/usr/bin/bash
export NVM_DIR=/nobackup/$(id -gn)/${USER}/.nvm && curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.1/install.sh | bash
mkdir /nobackup/$(id -gn)/${USER}/.node
source ~/.bashrc
export NVM_DIR=/nobackup/$(id -gn)/${USER}/.nvm
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
nvm install --lts
rm -rf ~/.npm
mkdir /nobackup/$(id -gn)/${USER}/.npm
ln -s /nobackup/$(id -gn)/${USER}/.npm .npm
cd /nobackup/$(id -gn)/${USER}/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment