mod_prediction / setup.sh
emvecchi's picture
Create setup.sh
4c86e4f verified
raw
history blame
341 Bytes
set -x #echo on
# Install Git LFS
curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
sudo apt-get install git-lfs
git lfs install
# Create Streamlit configuration
mkdir -p ~/.streamlit/
echo "\
[server]\n\
headless = true\n\
port = $PORT\n\
enableCORS = false\n\
\n\
" > ~/.streamlit/config.toml