Update readme for python script

This commit is contained in:
crawforc3 2025-01-04 13:56:27 -08:00
parent 0497ad2505
commit 2037c78f1a

View File

@ -8,7 +8,7 @@ Youre free to use the framework of your choice. We want to understand how you
--- ---
### Running the app via Docker: # Running the app via Docker:
``` ```
chmod u+x build_and_run.sh chmod u+x build_and_run.sh
./build_and_run_docker.sh ./build_and_run_docker.sh
@ -16,12 +16,10 @@ chmod u+x build_and_run.sh
- Visit http://0.0.0.0:8501 - Visit http://0.0.0.0:8501
- Ctrl + c to quit - Ctrl + c to quit
### Running the app via Python with virtual env: # Running the app via Python with virtual env:
``` ```
python3 -m venv venv chmod u+x build_and_run.sh
. venv/bin/activate ./build_and_run_python.sh
pip install -r requirements
streamlit run main.py --server.port=8501 --server.address=0.0.0.0
``` ```
- Visit http://0.0.0.0:8501 - Visit http://0.0.0.0:8501
- Ctrl + c to quit - Ctrl + c to quit