init0.sh 486 B

12345678910111213
  1. # exe in ~/
  2. # $1: branch name to checkout after clone
  3. git clone git@121.40.183.99:zd_code2.git zd_code
  4. git checkout $1
  5. cd /root/bin/apache-tomcat-8.5.35/webapps
  6. ln -s /root/zd_code/p2p-back/zd_back_bin/manager fortunet-manager
  7. ln -s /root/zd_code/p2p-back/zd_back_bin/api fortunet-api
  8. ln -s /root/zd_code/p2p-back/zd_back_bin/investpay fortunet-investpay
  9. ln -s /root/zd_code/p2p-front/zd_front_bin p2p-front
  10. ln -s /root/zd_code/piaojuke_czbank_mobile/zd_mobile_bin mobile
  11. ~/s/init.sh