goodest

on

1st terminal panel

# # if there's a docker conflict # # docker rm $(docker ps -a -q) # # on # docker compose up -d; sleep 5; docker exec -it goodest.1 bash -c "source /habitat/_controls/source_2.sh && bash" # # optional: HAProxy certs # # goodest_1 adventures demux_hap build_unverified_certificates # # optional: install # # python3 /habitat/_controls/install_with_uv.py # # optional: if need to import the database # goodest_1 adventures monetary saves import --version 3 --drop

2+ terminal panels

docker exec -it goodest.1 bash -c "source /habitat/_controls/source_2.sh && bash" # # # build the front # (cd /habitat/venues/stages/goodest/adventures/vv_turbo/apps/web && bun run build --sourcemap inline)

garages (harbors)

sanic

http://192.168.0.100/docs/swagger#/

sanic inspector

http://192.168.0.100:7457

bun

apt install unzip; curl -fsSL https://bun.sh/install | bash; source /root/.bashrc

install

(cd /habitat/venues/stages/goodest/adventures/vv_turbo/ && bun install)

on

(cd /habitat/venues/stages/goodest/adventures/vv_turbo/ && bun run dev) (cd /habitat/venues/stages/goodest/adventures/vv_turbo/apps/web && bun run build --watch)

previously

(cd /habitat/venues/stages/goodest/adventures && npx create-turbo@latest -e with-vite) (cd /habitat/venues/stages/goodest/adventures/vv_turbo/ && bun add @vitejs/plugin-vue) (cd /habitat/venues/stages/goodest/adventures/vv_turbo/apps/web && bun pm untrusted)

publishing

linting

(cd /goodest/venues/stages/goodest && pycycle --here)

status

cd /goodest/venues/stages/goodest/__status/main # # internal status # # python3 /habitat/venues/stages/goodest/__status/main/status.proc.py # # external API checks (NIH and USDA) # python3 /habitat/venues/stages/goodest/__status/API/status.proc.py # # vite status # # (cd /habitat/venues/stages/goodest/adventures/vv_turbo/apps/web && bun run status) # # selenium status # #

publish

# # [ ] poetry auth # # pip install poetry && cd /habitat && rm -rf dist && poetry build --verbose && poetry publish --verbose; (pip install poetry && cd /habitat && rm -rf dist && poetry build --format sdist --verbose && chmod -R 777 /habitat && poetry publish --verbose;)

important

poetry show --tree

docker

docker compose up -d docker exec -it goodest bash docker exec -it goodest bash -c "source /goodest/moves/source_2.sh && bash"