bin bash git clone git git rutm net vniins realty-backend git git clon

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
#!/bin/bash
git clone git@git.rutm.net:vniins/realty-backend.git
git clone git@git.rutm.net:vniins/realty-frontend.git
mkdir VNIINS
cp -rv backend VNIINS
(cd realty-backend && ./gradlew build)
mv realty-backend/build/libs/realty-*.jar VNIINS/backend/backend.jar
rm -rf realty-backend
(cd realty-frontend && npm install && bower install && grunt build:dist)
mv realty-frontend/dist VNIINS/frontend
cp web.config VNIINS/frontend/
rm -rf realty-frontend
7z a VNIINS.7z VNIINS
rm -rf VNIINS