goodest

objectives

https://hub.docker.com/r/eniocarboni/docker-ubuntu-systemd

on

1st terminal panel

# # if there's a docker conflict # # docker rm $(docker ps -a -q) # # on # docker compose up -d; docker compose logs docker exec -it goodest.1 bash # # need to wait for this install to finish # before running source_2 # source /habitat/_controls/source_1.sh && bash source /habitat/_controls/source_2.sh && bash # # optional: HAProxy certs # # goodest_1 adventures demux_hap build_unverified_certificates # # 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 && the_version=1.8.0 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 # # python3 /habitat/venues/stages/goodest/__status/browser/status.proc.py python3 venues/stages/goodest/__status/browser/status.proc.py

publish

# # [ ] poetry auth # # # For building sdist and maybe wheel # poetry build --verbos # (pip install poetry && cd /habitat && rm -rf dist && poetry build --format sdist --verbose && chmod -R 777 /habitat && poetry publish --verbose;) # # statistics # find . -type d -exec du -sh {} \; du -h --max-depth=1 .

notes

[tool.poetry.source] include = [ "venues/stages/goodest/adventures/vv_turbo/apps/web/the_build/*" ]

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"

hatch

# # https://github.com/pypa/pipx # # apt install pipx -y pipx ensurepath pipx install hatch