Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
2
2001_0033_neuromorphic_user
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SHINDAESUB
2001_0033_neuromorphic_user
Commits
6423fee9
Commit
6423fee9
authored
Oct 13, 2021
by
김현기
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docker : backend test ok
parent
76a02fa1
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
15 deletions
+14
-15
frentend
apps/frentend
+0
-2
app.js
backend/app.js
+1
-1
init-home-single-backend.sh
docker/init-home-single-backend.sh
+1
-0
run-dev-as-service-backend.sh
docker/run-dev-as-service-backend.sh
+12
-12
No files found.
apps/frentend
deleted
120000 → 0
View file @
76a02fa1
../frontend/
\ No newline at end of file
backend/app.js
View file @
6423fee9
...
...
@@ -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
||
300
0
);
app
.
set
(
'port'
,
process
.
env
.
PORT
||
300
1
);
/* udp 통신으로 매니저에게 받는 결과값*/
let
udpResultMsg
=
''
...
...
docker/init-home-single-backend.sh
View file @
6423fee9
...
...
@@ -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/
\
...
...
docker/run-dev-as-service-backend.sh
View file @
6423fee9
#!/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/
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment