-
Notifications
You must be signed in to change notification settings - Fork 1
/
installer.sh
executable file
·31 lines (26 loc) · 1.03 KB
/
installer.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
#!/bin/bash
# Local Hostname
HOSTNAME=`ifconfig -a | grep -i "inet " | awk 'NR==2{print $2}'`
# Install NodeJS (on Windows, Linux or Mac) 14.15 - https://nodejs.org/download/release/v14.15.0/
npm install
npm i -g nodemon
# AngularJS 11.x
cd editorClient
npm install -g "@angular/cli"
npm install
cd ..
# Python 3.10 install for Heroku
pip3 install easyocr #1.4.1
pip3 install gibberish_detector
pip3 install stanza
pip3 install numpy
pip3 install matplotlib
pip3 install nltk
pip3 install keras
pip3 install tensorflow
# To Fix - <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1049)>
# Open or Double-Click /Applications/Python 3.x/Install Certificates.command && /Applications/Python 3.x/Update Shell Profile.command
./startMSE.sh # permission for executing startMSE.sh
# Open this in Default Browser & Self-Signed Certificates from both Client (AngularJS) & Server (NodeJS) should be excempted
open https://$HOSTNAME:4200/
open https://$HOSTNAME:5555/v1/multiscripteditor