Initial commit after re-install

This commit is contained in:
2026-02-25 19:10:13 +09:00
commit 83dec7504e
12 changed files with 4799 additions and 0 deletions

14
run.sh Executable file
View File

@@ -0,0 +1,14 @@
#!/usr/bin/env bash
set -euo pipefail
cd /home/dsyoon/workspace/news_link
PORT="${PORT:-8021}"
if lsof -ti tcp:"${PORT}" >/dev/null 2>&1; then
echo "Stopping existing server on port ${PORT}..."
lsof -ti tcp:"${PORT}" | xargs -r kill -9
sleep 1
fi
nohup /home/dsyoon/workspace/miniconda3/envs/ncue/bin/python app.py > nohup.out &