setup config files script
This commit is contained in:
parent
986ab7ffbe
commit
40986eaba3
@ -165,7 +165,7 @@ def updateCrypto():
|
|||||||
#coin_list = coingecko_client.get_coins_list()
|
#coin_list = coingecko_client.get_coins_list()
|
||||||
#json.dump(coin_list, open('csv/coin_list.json', 'w+'))
|
#json.dump(coin_list, open('csv/coin_list.json', 'w+'))
|
||||||
|
|
||||||
f = open('csv/coin_list.json', 'r')
|
f = open('coin_list.json', 'r')
|
||||||
coin_list = json.load(f)
|
coin_list = json.load(f)
|
||||||
f.close()
|
f.close()
|
||||||
|
|
||||||
|
1
coin_list.json
Normal file
1
coin_list.json
Normal file
File diff suppressed because one or more lines are too long
0
csv/coin_list.json
Normal file
0
csv/coin_list.json
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
7
log.txt
7
log.txt
@ -1,7 +0,0 @@
|
|||||||
list index out of range. file: stockTicker.py. line: 2459. type: <class 'IndexError'>
|
|
||||||
Traceback (most recent call last):
|
|
||||||
File "stockTicker.py", line 2459, in <module>
|
|
||||||
stock_ticker = StockTicker()
|
|
||||||
File "stockTicker.py", line 50, in __init__
|
|
||||||
line = settings.readlines()[1]
|
|
||||||
IndexError: list index out of range
|
|
3
setup.sh
3
setup.sh
@ -1,3 +1,4 @@
|
|||||||
|
sudo ./setup_config_files.sh
|
||||||
sudo apt-get install python3-pip
|
sudo apt-get install python3-pip
|
||||||
pip3 install finnhub-python
|
pip3 install finnhub-python
|
||||||
pip3 install flask
|
pip3 install flask
|
||||||
@ -26,3 +27,5 @@ sudo apt-get remove bluez bluez-firmware pi-bluetooth triggerhappy pigpio
|
|||||||
sudo apt autoremove
|
sudo apt autoremove
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
50
setup_config_files.sh
Normal file → Executable file
50
setup_config_files.sh
Normal file → Executable file
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user