2022.11.05 (01. 링크 애니 요청 페이지 일부 수정 및 일부 구현 저장용)
This commit is contained in:
16
yommi_api/api.sh
Normal file
16
yommi_api/api.sh
Normal file
@@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
LINE="***********************************************"
|
||||
PORT="7070"
|
||||
#WORK_DIR="/mnt/WD/Users/Work/python/ff_dev_plugins/anime_downloader/yommi_api"
|
||||
WORK_DIR="/Volumes/WD/Users/Work/python/ff_dev_plugins/anime_downloader/yommi_api"
|
||||
|
||||
echo "$LINE"
|
||||
echo "* fast api running..."
|
||||
echo "$LINE"
|
||||
pip install fastapi uvicorn[standard] playwright
|
||||
# shellcheck disable=SC2164
|
||||
cd "$WORK_DIR"
|
||||
uvicorn main:app --reload --port=$PORT
|
||||
#echo "* listening $PORT..."
|
||||
#echo "$LINE"
|
||||
|
||||
Reference in New Issue
Block a user