C2A-Installation-Server/docker/add-alias.sh

13 lines
603 B
Bash
Executable File

echo "
# Alias C2A
alias restart-api='docker restart c2a-api-prod'
alias restart-api-dev='docker restart c2a-api-dev'
alias update-web-platform='nohup /root/.bin/update-web-platform.sh &>> /var/log/c2a/update-web-platform.log&'
alias update-web-platform-dev='nohup /root/.bin/update-web-platform-dev.sh &>> /var/log/c2a/update-web-platform-dev.log&'
alias update-web-app='nohup /root/.bin/update-web-app.sh &>> /var/log/c2a/update-web-app.log&'
alias update-web-app-dev='nohup /root/.bin/update-web-app-dev.sh &>> /var/log/c2a/update-web-app-dev.log&'
# export PATH=$PATH:/root/.bin
" > /root/.bashrc