-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.sh
executable file
·33 lines (26 loc) · 1023 Bytes
/
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
31
32
#!/bin/bash
cd /
git clone https://github.com/shrutirij/ocr-post-correction
cd ocr-post-correction/
conda create --yes --name ocr-post-correction python=3.9.5
conda activate ocr-post-correction
pip install -r postcorr_requirements.txt
pip install -r ocr_requirements.txt
cp /cmulab/tests/cmulab_ocr_t*.sh .
cp /cmulab/tests/echo_cmulab_ocr_t*.sh .
conda create --yes --name cmulab python=3.7.10
conda activate cmulab
python setup.py develop
pip install git+https://github.com/zaidsheikh/cmulab_allosaurus
pip install git+https://github.com/zaidsheikh/cmulab_diarization
# pip install git+https://github.com/zaidsheikh/cmulab_stanza
ln -s /dev/shm/.config/.env.yml .
python manage.py makemigrations annotator
python manage.py migrate
mkdir /redis_db
## Run the following manually:
# ./start.sh
# python manage.py createsuperuser
# python populate.py
# Create OAuth app at https://console.cloud.google.com/apis/credentials/oauthclient
# Login to http://localhost:8088/admin/socialaccount/socialapp and add social app