Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jnaiman committed Oct 29, 2024
1 parent 5347174 commit d06d785
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,25 @@ githubAutoSyncJekyll(){
}
```

For streamlit apps, this command-equivalent is:
```
# auto github push a set of files for STREAMLIT apps
# $1: streamlit directory; e.g. /Users/jnaiman/my_streamlit_app
# $2: link to file to upload in repo; e.g. /Users/jnaiman/is445_bcubcg_fall2024/week11/inClass
# $3: main github page to cd into to push like /Users/jnaiman/is445_bcubcg_fall2024 (i.e. the course webpage)
githubAutoSyncStreamlit(){
# assume you want to copy everything
while [ true ]
do
cd $3
cp $1/* $2
source auto_commit.sh
sleep 15
done
}
```

### To run locally

bundle exec jekyll serve -l
Expand Down
19 changes: 19 additions & 0 deletions _site/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,25 @@ githubAutoSyncJekyll(){
}
```

For streamlit apps, this command-equivalent is:
```
# auto github push a set of files for STREAMLIT apps
# $1: streamlit directory; e.g. /Users/jnaiman/my_streamlit_app
# $2: link to file to upload in repo; e.g. /Users/jnaiman/is445_bcubcg_fall2024/week11/inClass
# $3: main github page to cd into to push like /Users/jnaiman/is445_bcubcg_fall2024 (i.e. the course webpage)
githubAutoSyncStreamlit(){
# assume you want to copy everything
while [ true ]
do
cd $3
cp $1/* $2
source auto_commit.sh
sleep 15
done
}
```

### To run locally

bundle exec jekyll serve -l
Expand Down

0 comments on commit d06d785

Please sign in to comment.