Files
bttoxin-pipeline/activate_backend.sh
zly c75c85c53b Refactor: Unified pipeline execution, simplified UI, and fixed Docker config
- Backend: Refactored tasks.py to directly invoke run_single_fna_pipeline.py for consistency.
- Backend: Changed output format to ZIP and added auto-cleanup of intermediate files.
- Backend: Fixed language parameter passing in API and tasks.
- Frontend: Removed CRISPR Fusion UI elements from Submit and Monitor views.
- Frontend: Implemented simulated progress bar for better UX.
- Frontend: Restored One-click load button and added result file structure documentation.
- Docker: Fixed critical Restarting loop by removing incorrect image directive in docker-compose.yml.
- Docker: Optimized Dockerfile to correct .pixi environment path issues and prevent accidental deletion of frontend assets.
2026-01-20 20:25:25 +08:00

33 lines
1002 B
Bash

export PATH="/app/.pixi/envs/webbackend/bin:/root/.pixi/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
export CONDA_SHLVL=1
export CONDA_PREFIX=/app/.pixi/envs/webbackend
export PIXI_PROJECT_VERSION=0.1.0
export PIXI_EXE=/usr/local/bin/pixi
export PIXI_PROJECT_NAME=bttoxin-pipeline
export PIXI_PROJECT_MANIFEST=/app/pixi.toml
export PIXI_IN_SHELL=1
export PIXI_PROJECT_ROOT=/app
export CONDA_DEFAULT_ENV=bttoxin-pipeline:webbackend
export PIXI_ENVIRONMENT_NAME=webbackend
export PIXI_ENVIRONMENT_PLATFORMS=linux-64
export PIXI_PROMPT='(bttoxin-pipeline:webbackend) '
# shellcheck shell=bash
pixi() {
local first_arg="${1-}"
"${PIXI_EXE-}" "$@" || return $?
case "${first_arg-}" in
add | a | remove | rm | install | i)
eval "$("$PIXI_EXE" shell-hook --change-ps1 false)"
hash -r
;;
esac || :
return 0
}
export PS1="(bttoxin-pipeline:webbackend) ${PS1:-}"
exec uvicorn backend.app.main:app --reload --host 0.0.0.0 --port 8000 "$@"