Skip to content

Commit

Permalink
git.sh: Update for dynamic django deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Bjwebb committed Nov 6, 2024
1 parent 7b7893e commit 4511550
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions git.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,18 @@ mkdir out
echo "LOG: `date '+%Y-%m-%d %H:%M:%S'` - Fetching data"
./fetch_data.sh &> fetch_data.log || exit 1

cd dashboard

echo "LOG: `date '+%Y-%m-%d %H:%M:%S'` - Running plots.py"
python plots.py || exit 1
python make_plots.py || exit 1

echo "LOG: `date '+%Y-%m-%d %H:%M:%S'` - Running make_csv.py"
python make_csv.py || exit 1

echo "LOG: `date '+%Y-%m-%d %H:%M:%S'` - Running speakers kit.py"
python speakers_kit.py || exit 1

echo "LOG: `date '+%Y-%m-%d %H:%M:%S'` - Running make_html.py"
python make_html.py $1 $2|| exit 1

echo "LOG: `date '+%Y-%m-%d %H:%M:%S'` - Copying static elements"
cp static/img/favicon.png out/
cp static/img/tablesorter-icons.gif out/
cd ..

echo "LOG: `date '+%Y-%m-%d %H:%M:%S'` - Make a backup of the old web directory and make new content live"
rsync -a --delete web web.bk
Expand Down

0 comments on commit 4511550

Please sign in to comment.