Skip to content

NichHarris/intera-api

Repository files navigation

Intera - An ASL/Speech to Text Faciliator & Learning Platform (API Server)

Installation Guide

Pre-requisite: Must be on Python version 3.8+, and python virtualenv and pip3

python3 -m pip install --user --upgrade pip
python3 -m pip install --user virtualenv

Setup virtual environment

python -m virtualenv venv
source venv/bin/activate
pip3 install -r requirements.txt

Import the .env file

Import the .env file provided under the intera-api/ directory

Start up server

gunicorn -k geventwebsocket.gunicorn.workers.GeventWebSocketWorker -w 4 --worker-connections=1000 --reload -b 0.0.0.0:5000 app:app

Updating requirements file when adding a package

After installing a new package, update the requirements.txt file with the content from the command pip3 freeze > requirements.txt

Docket Setup

  1. Move docker-compose.yaml into project root directory i.e above intera-api/
  2. Create a copy of .env file and name it .env.dev
  3. Run docker-compose build
  4. Run docker-compose up -d

Debugging with Docker

Run Debug docker-compose logs -f

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •