-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.sh
30 lines (30 loc) · 1.13 KB
/
setup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/bash
# https://gist.github.com/mikesmullin/2636776
#
# download and install latest geckodriver for linux or mac.
# required for selenium to drive a firefox browser.
sudo apt-get update
sudo apt-get install jq wget chromium-chromedriver firefox
sudo python3 -m pip install -r requirements.txt
sudo python3 -m pip install seaborn
sudo python3 -m pip install bs4
sudo python3 -m pip install natsort dask plotly tabulate
sudo python3 -m conda install -c pyviz holoviews bokeh
sudo conda install -c pyviz holoviews bokeh
sudo python3 -m pip install git+https://github.com/pyviz/holoviews.git
git clone https://github.com/pyviz/holoviews.git
cd holoviews; sudo pip install -e .; cd ..;
wget https://ftp.mozilla.org/pub/firefox/releases/45.0.2/linux-x86_64/en-GB/firefox-45.0.2.tar.bz2
mkdir -p ~/.streamlit/
echo "\
[general]\n\
email = \"russelljarvis@protonmail.com\"\n\
" > ~/.streamlit/credentials.toml
echo "\
[server]\n\
headless = true\n\
enableCORS=false\n\
port = $PORT\n\
" > ~/.streamlit/config.toml
wget https://www.dropbox.com/sh/x1ea0gt5cenqcfi/AADPGs-xD2A5WhNV2WIgKS_Wa?dl=0
mv AADPGs-xD2A5WhNV2WIgKS_Wa?dl=0 AADPGs-xD2A5WhNV2WIgKS_Wa?dl