- Install vue-i18n and configure locales (zh/en) - Add complete navigation bar with 5 items: Home, About, Submit, Status, Tool Guide - Add language switcher (中文/EN) with localStorage persistence - Create HomeView with hero section, features, and quick links - Create AboutView with features and usage guide - Create ToolInfoView explaining BtToxin_Shoter principles (no formulas, no Digger) - Update TaskSubmitForm: single file upload, genome/protein toggle, tooltips - Update TaskMonitorView: i18n, queue status display - Add queue_position field to TaskStatusResponse type Co-Authored-By: Claude <noreply@anthropic.com>
33 lines
1002 B
Bash
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_IN_SHELL=1
|
|
export PIXI_PROJECT_MANIFEST=/app/pixi.toml
|
|
export PIXI_PROJECT_ROOT=/app
|
|
export PIXI_EXE=/usr/local/bin/pixi
|
|
export PIXI_PROJECT_NAME=bttoxin-pipeline
|
|
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 "$@"
|