-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Autorefresh of live.html, changed file name in server to solve cachin…
…g issues
- Loading branch information
1 parent
08e3efa
commit 63e61ef
Showing
5 changed files
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,8 @@ fswatch ../live.py | while read -r fpath; do \ | |
echo -e "\033[0;36mRELOAD\033[0m $fpath $(date +"%H%M%S")" | ||
echo -e "# $(date +"%H:%M:%S")\n" | cat - ../live.py > live_mod.py | ||
sed -e '/-python">/r./live_mod.py' live_template.html > live.html | ||
gsutil cp live.html gs://bigdata.luisbelloch.es/live.html | ||
gsutil -h "Cache-Control:no-cache,max-age=0" \ | ||
cp live.html gs://bigdata.luisbelloch.es/en_directo.html | ||
|
||
# echo -e "# $(date +"%H:%M:%S")\n" | cat - live.py | pygmentize -f html -O full,linenos=1 -o live.html | ||
# scp live.html [email protected]:/var/www/html/index.html | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters