on1st session
#
# 1. (optional) remove every docker container if there's a conflict
# 2. open the docker container
# 3. build (need to wait for this to finish before build_2.sh)
# 4. (optional) HAProxy certs
# 5. [tmux 1] start the ventures
#
docker rm $(docker ps -a -q)
docker compose up -d; docker exec -it goodest.1 bash
. /habitat/_controls/build_1.sh
goodest_1 adventures demux_hap build_unverified_certificates
goodest_1 ventures on
#
# [tmux 2] start the frontend dev beacon
#
#
(cd /habitat/venues/frontend/vv_turbo/ && bun run dev)
#
# might need to allow browser storage,
# also need to open https://192.168.0.100 in another tab and allow.
#
localStorage.setItem ("node address", "https://192.168.0.100/")
#
# Change the mode to "business"
# @ /habitat/_estate_1/goodest_essence.py
#
#
# optional: if need import the data
# Location is in "essence"
# Probably is:
# ls /habitat/venues/stages/goodest/[saves]/monetary_saves/exports/goodest_inventory/food
#
#
goodest_1 adventures monetary saves-G2 import --version 15 --drop
2nd+ session
# docker exec -it goodest.1 bash -c ". /habitat/_controls/build_2.sh && bash"
docker exec -it goodest.1 bash
# . /habitat/_controls/build_2.sh
#
#
# build the front
#
(cd /habitat/venues/frontend/vv_turbo/apps/web && the_version=1.8.0 bun run build --sourcemap inline)
off
docker container stop goodest.1; docker container rm goodest.1;
savingbefore publish
goodest_1 adventures monetary saves-G2 save --databases '[ "goodest_inventory", "goodest_tract" ]' --version 2.3.0-01
goodest_1 adventures monetary saves-G2 extract --version 2.3.0-01
for publish
goodest_1 adventures monetary saves-G2 save --databases '[ "goodest_inventory", "goodest_tract" ]' --version 2.3.0
actions
If the structure changes, need to update to the latest structure:
@ enhance, refresh, update
enhance foods:
enhance supps:
garages (harbors)
sanic
http://192.168.0.100/docs/swagger#/
sanic inspector
http://192.168.0.100:7457
notes
[tool.poetry.source]
include = [
"venues/stages/goodest/adventures/vv_turbo/apps/web/the_build/*"
]