feat: refine setup script
Browse files- linux_venv_setup.sh +7 -2
linux_venv_setup.sh
CHANGED
@@ -1,10 +1,11 @@
|
|
|
|
|
|
1 |
# init virtual env
|
2 |
-
|
3 |
|
4 |
source venv/bin/activate
|
5 |
|
6 |
# install pillow deps
|
7 |
-
sudo apt update
|
8 |
sudo apt-get install libtiff5-dev libjpeg8-dev libopenjp2-7-dev zlib1g-dev \
|
9 |
libfreetype6-dev liblcms2-dev libwebp-dev tcl8.6-dev tk8.6-dev python3-tk \
|
10 |
libharfbuzz-dev libfribidi-dev libxcb1-dev -y
|
@@ -27,3 +28,7 @@ pip install -r requirements_generate_font_dataset.txt
|
|
27 |
cd ../..
|
28 |
rm -rf Pillow
|
29 |
|
|
|
|
|
|
|
|
|
|
1 |
+
sudo apt update && apt install python3-venv
|
2 |
+
|
3 |
# init virtual env
|
4 |
+
python3 -m venv venv
|
5 |
|
6 |
source venv/bin/activate
|
7 |
|
8 |
# install pillow deps
|
|
|
9 |
sudo apt-get install libtiff5-dev libjpeg8-dev libopenjp2-7-dev zlib1g-dev \
|
10 |
libfreetype6-dev liblcms2-dev libwebp-dev tcl8.6-dev tk8.6-dev python3-tk \
|
11 |
libharfbuzz-dev libfribidi-dev libxcb1-dev -y
|
|
|
28 |
cd ../..
|
29 |
rm -rf Pillow
|
30 |
|
31 |
+
# download wordlist (added since my cluster has bad public network connection)
|
32 |
+
wget https://www.mit.edu/~ecprice/wordlist.10000
|
33 |
+
mv wordlist.10000 wordlist.txt
|
34 |
+
|