- config.yaml: mode: paper → live - .gitignore: добавить .env, .DS_Store - deploy/scalp-bot.service — systemd user unit - deploy/update.sh — скрипт обновления на сервере Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
8 lines
207 B
Bash
Executable File
8 lines
207 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
cd /home/anor/scalp-bot
|
|
git pull --ff-only
|
|
source .venv/bin/activate
|
|
pip install -r requirements.txt --quiet
|
|
echo "Updated. Restart: systemctl --user restart scalp-bot"
|