Commit 6423fee9 by 김현기

docker : backend test ok

parent 76a02fa1
../frontend/
\ No newline at end of file
......@@ -65,7 +65,7 @@ app.use(require('connect-history-api-fallback')());
app.use(express.static(path.join(__dirname, 'public')));
app.set('port',process.env.PORT || 3000);
app.set('port',process.env.PORT || 3001);
/* udp 통신으로 매니저에게 받는 결과값*/
let udpResultMsg = ''
......
......@@ -4,6 +4,7 @@
#
#target=$(cat .select-home-target)
cp -av ../backend ../apps
docker-compose run --name neuro-home-backend-init \
--rm \
--workdir /apps/backend/ \
......
#!/bin/bash
if [ ! -f '.select-home-target' ]; then
echo -e "다음 중 원하는 타켓 설정 스크립트를 실행하세요"
echo -e ""
ls init-*
echo -e ""
exit 1
fi
target=$(cat .select-home-target)
echo -e "\\033]2;kcert2-home-$target dev sever\\007"
echo -e "kcert2-home-$target dev sever"
#if [ ! -f '.select-home-target' ]; then
# echo -e "다음 중 원하는 타켓 설정 스크립트를 실행하세요"
# echo -e ""
# ls init-*
# echo -e ""
# exit 1
#fi
#
#target=$(cat .select-home-target)
#echo -e "\\033]2;kcert2-home-$target dev sever\\007"
#echo -e "kcert2-home-$target dev sever"
touch ../apps/frontend/src/vue-apollo.js
docker-compose run --name kcert2-home-$target-dev-backend \
docker-compose run --name neuro-home-dev-backend \
--rm \
-u $(id -u ${USER}):$(id -g ${USER}) \
--workdir /apps/backend/ \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment