Just a simple repo to compare protein powder of all types
- Clone the repository:
git clone https://github.com/pomkos/brotein
cd brotein
- Create a conda environment (optional):
conda create --name "bro_env"
- Activate environment, install python, install dependencies.
conda activate bro_env
conda install python=3.8
pip install -r requirements.txt
- Start the application:
streamlit run brotein.py
- Access the portfolio at
localhost:8501
- Create a new file outside the
brotein
directory:
cd
nano brotein.sh
- Paste the following in it, then save and exit:
#!/bin/bash
source ~/anaconda3/etc/profile.d/conda.sh
cd ~/brotein
conda activate bro_env
nohup streamlit run brotein.py --server.port 8502 &
- Edit crontab so portfolio is started when server reboots
crontab -e
- Add the following to the end, then save and exit
@reboot /home/brotein.sh
- Access the website at
localhost:8502