Description: Backend and API Scripts for BCF 217 Bible Study Application
Authors: bfan1256, JDS0530
- Install Ruby
cd ./bible-processingbundle installruby app.rb
- Download Zip Version of ElasticSearch from https://www.elastic.co/downloads/elasticsearch
- Unzip file
- cd into newly created folder and run
bin/elasticsearch cd serverpython create_es_index.py
- Install Python
cd ./serverpip install -r requirements.txtcd server- Download zip file from http://nlp.stanford.edu/data/glove.6B.zip
- Unzip zip file and move
glove.6B.200d.txttoserver/files/ python server.py
cd server- Simply run
pytestfrom terminal and pytest will handle it all for you
cd server- Run
gunicorn server:APP --preload -t 300 --log-file=- --workers=2in terminal
cd firebase-functions/functionsnpm install
cd firebase-functions/functionsfirebase deploy --only functions(To Deploy All Functions)firebase deploy --only functions:<function-name>(To Deploy Certain Function)