volts
# neurons
docker
docker network create --subnet=192.168.0.0/24 container_network
docker run --network container_network --ip 192.168.0.102 -v .:/volts -it jumps:v2.1.0
docker exec -it 7e0d7605a678 bash
link the readme
ln -s venues/stages/volts/room.md readme.MD
poetry
pip install poetry poetry-plugin-export
add
#
# ⚠️
# Make sure that none of these depend on this module!
#
# For the sake of sanity, please keep the "reliability, testing, etc."
# structure as a "tree, hierarchy, etc." etc. with no coodependencies
# that almost definitely cause chaos.
#
poetry add sanic
#
# if dev dependencies
#
# poetry export --with dev --format requirements.txt --output requirements.txt
rm -rf /volts/venues/stages_pip && poetry export --format requirements.txt --output requirements.txt && pip install -r requirements.txt -t /volts/venues/stages_pip
# /root/.cache/pypoetry/virtualenvs/volts-p2eJTVsK-py3.10/lib/python3.10/site-packages/
# cp -R /root/.cache/pypoetry/virtualenvs/volts-p2eJTVsK-py3.10/lib/python3.10/site-packages/ /volts/venues/stages_pip
installations venv
poetry config virtualenvs.path /path/to/your/directory
poetry env use python3
poetry shell
scripts
#
# https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#creating-executable-scripts
# from this_module import clique; clique ()
#
publishing
python3 /volts/venues/stages/volts/_status/status.proc.py
cp /volts/venues/stages/volts/room.md /volts/readme.md
#
# poetry auth
#
rm -rf dist && poetry build --verbose && poetry publish --verbose;
# rm -rf stages_pip && pip install volts -t stages_pip
important
poetry show --tree