- Navigate to Oxi/bin
- Run
zsh dependencies_add.zsh
- Run
zsh deploy.zsh
This will build required images locally and deploy both logger and the app in a stack.
Modify docker-compose.yml for desired scale.
zsh deploy.zsh # - build local images, run in stack from docker-compose.yml
zsh undeploy.zsh # - remove stack, remove local images
zsh build_images.zsh # - build local images
zsh remove_images.zsh # - remove local images
zsh app_attach.zsh # - attach terminal to app output
zsh logger_attach.zsh # - attach terminal to logger output
client.py serves as stdout
view.py serves as stdin
- Navigate to Oxi/Client
- Run
python3 -m venv client-venv
- Run
source client-venv/bin/activate
- Run
pip install -r requirements.txt
- Navigate to Oxi/Client
- Run
source client-venv/bin/activate
- Run
python3 client.py
- Run
python3 view.py
(in a separate window)