Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
ydl_ai_recommender
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
闫发泽
ydl_ai_recommender
Commits
ce4a0f69
Commit
ce4a0f69
authored
Dec 09, 2022
by
柴鹏飞
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加接口启动脚本
parent
2b5c5943
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
1 deletions
+16
-1
README.md
README.md
+3
-1
start.sh
bin/start.sh
+13
-0
No files found.
README.md
View file @
ce4a0f69
...
@@ -24,7 +24,9 @@ python bin/update.py -t make_embedding
...
@@ -24,7 +24,9 @@ python bin/update.py -t make_embedding
### 启动接口服务
### 启动接口服务
```
bash
```
bash
sh bin/start.sh
# 一定要在 `bin` 目录中执行
cd
bin
sh start.sh
```
```
...
...
bin/start.sh
0 → 100755
View file @
ce4a0f69
#!/bin/bash
set
-u
set
-x
for
port
in
`
echo
'6001,6002'
| tr
','
' '
`
do
echo
$port
nohup python ../src/service/service.py
--port
=
$port
>
../log/console_service_
$port
.log 2>&1 &
echo
$!
>>
.start_service.pid
done
\ No newline at end of file
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