Spaces:
Running
Running
BraydenMoore
commited on
Commit
•
a2525f9
1
Parent(s):
50d0917
Add bash update script
Browse files- update_data.sh +17 -0
update_data.sh
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
export PATH=/opt/homebrew/bin/:$PATH
|
3 |
+
echo "Updating MARCI!"
|
4 |
+
cd "/Users/braydenmoore/Library/CloudStorage/OneDrive-stern.nyu.edu/Brayden Moore LLC/Python/Projects/MARCI 3.0/MARCI-NFL-Betting"
|
5 |
+
python3 "Source/Build/update.py"
|
6 |
+
python3 "get_record.py"
|
7 |
+
echo "Committing to repo!"
|
8 |
+
git add "Source/Data/gbg_and_odds_this_year.csv"
|
9 |
+
git add "Source/Data/gbg_this_year.csv"
|
10 |
+
git add "Source/Data/results.csv"
|
11 |
+
git add "Source/Data/record.json"
|
12 |
+
git add "Source/Data/lines.json"
|
13 |
+
git add "Source/Pickles"
|
14 |
+
git add "Static"
|
15 |
+
git add "Templates"
|
16 |
+
git commit -m "Update with up to date data"
|
17 |
+
git push all main
|