Updated Docker
This commit is contained in:
parent
3fa8d2cee9
commit
9d6412dad6
|
@ -13,6 +13,8 @@ else
|
|||
make start_langdetect &
|
||||
echo "### Starting CoffeeHouse-SpamDetect ###"
|
||||
make start_spamdetect &
|
||||
echo "### Starting CoffeeHouse-CoreNLP ###"
|
||||
make start_corenlp &
|
||||
|
||||
while sleep 60; do
|
||||
|
||||
|
@ -32,5 +34,12 @@ else
|
|||
echo "ERROR: coffeehouse_spamdetection has been terminated, terminating container."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
ps aux | grep edu.stanford.nlp.pipeline.StanfordCoreNLPServer | grep -q -v grep
|
||||
CORENLP_STATUS=$?
|
||||
if [ $CORENLP_STATUS -ne 0 ]; then
|
||||
echo "ERROR: coffeehouse_corenlp has been terminated, terminating container."
|
||||
exit 1
|
||||
fi
|
||||
done
|
||||
fi
|
|
@ -10,7 +10,7 @@ read -p 'Enter your 25-50 character PAT: ' GIT_API_KEY
|
|||
echo " #### Cloning CoffeeHousePy"
|
||||
git clone https://${GIT_API_KEY}@github.com/Intellivoid/CoffeeHousePy.git
|
||||
cd /CoffeeHousePy
|
||||
git checkout production
|
||||
git checkout corenlp
|
||||
|
||||
echo " #### Preparing System for Python"
|
||||
make system_prep_python
|
||||
|
@ -21,5 +21,8 @@ make system_prep_pip
|
|||
echo " #### Preparing System for GCC"
|
||||
make system_prep_gcc
|
||||
|
||||
echo " #### Preparing System for Java"
|
||||
make system_prep_java
|
||||
|
||||
echo " #### Building and Installing CoffeeHousePy"
|
||||
make install
|
Loading…
Reference in New Issue