Skip to content

About

Final Year Project's backend using Python FastAPI framework and Celery to serve Tensorflow Model

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

19 Commits

Folders and files

Repository files navigation

fyp-webapp-server

Final Year Project's backend using Python FastAPI framework and Celery to serve Tensorflow Model

Built With

Prerequisites

  • Python 3.7.11, install specific Python version using pyenv
    pyenv install -v 3.7.11
    pyenv global 3.7.11
  • Redis installed on your machine

Installation

  1. Clone the repo
    git clone https://raw.githubusercontent.com/weiran0630/fyp-webapp-server/main/app/webapp-fyp-server-glottological.zip
  2. Create and startup Python virtual environment
    pip3 install virtualenv
    virtualenv .venv
    source .venv/bin/activate
  3. Install Python packages
    pip install -r https://raw.githubusercontent.com/weiran0630/fyp-webapp-server/main/app/webapp-fyp-server-glottological.zip

Run apps locally using Heroku CLI

  1. Set up local environment variables

    touch .env
    open .env

    Here’s an example .env file:

    REDIS_TLS_URL=rediss://
    REDIS_URL=redis://
    
  2. Start up Redis server

    redis-server
  3. Locally start all of the process types that are defined in Procfile

    heroku local

Test and document your API using OpenAPI Swagger

About

Final Year Project's backend using Python FastAPI framework and Celery to serve Tensorflow Model

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Contributors

Languages