emvecchi commited on
Commit
4c86e4f
1 Parent(s): f6bb31a

Create setup.sh

Browse files
Files changed (1) hide show
  1. setup.sh +16 -0
setup.sh ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ set -x #echo on
2
+
3
+ # Install Git LFS
4
+ curl -s https://packagecloud.io/install/repositories/github/git-lfs/script.deb.sh | sudo bash
5
+ sudo apt-get install git-lfs
6
+ git lfs install
7
+
8
+ # Create Streamlit configuration
9
+ mkdir -p ~/.streamlit/
10
+ echo "\
11
+ [server]\n\
12
+ headless = true\n\
13
+ port = $PORT\n\
14
+ enableCORS = false\n\
15
+ \n\
16
+ " > ~/.streamlit/config.toml