HUB
Sign inSign up

classtranscribe/pythonrpcserver

By classtranscribe

•Updated 2 days ago

Image
0

50K+

classtranscribe/pythonrpcserver repository overview

⁠WebAPI

This repository provides the source code primary API endpoint of the ClassTranscribe Server. Copyright (C) University of Illinois, USA. 2019-2020

The source code in this repository is licensed here under the GNU Public License 3.0 (https://www.gnu.org/licenses/gpl-3.0.en.html⁠). Please email angrave at Illinois if you are interested in alternative licenses of this code and related intellectual property.

In submitting code to this repository - for example by issuing a git pull-request, or working directly with ClassTranscribe developers to merge or add code - you agree to re-assign copyright of the code to the University of Illinois.

⁠Build Instructions

This repository is in the form of 3 docker services,

  1. The ClassTranscribeServer (service name - classtranscribeserver, accessible on port 8080)
  2. A postgresQL database server (service name - db, accessible on port 5432)
  3. A pgadmin server, which allows to interact with the db using a GUI interface (service name - pgadmin, accessible on port 5050)

To build this repository,

  1. Install docker

  2. Obtain all the environment variable files from an admin

  3. To start all the services

    docker-compose up
    

    To start a single service

    docker-compose up [service_name]
    

    Eg.

    docker-compose up -d classtranscribeserver
    

    "-d" option allows running the service in a detached mode

  4. That's it.

⁠Notes

  1. If there are dependency changes made to classtranscribeserver, you are required to rebuild using docker-compose docker-compose up --build classtranscribeserver
  2. After making any code changes to rebuild code, just re-run the service, docker-compose up classtranscribeserver
  3. Refer gotchas.md⁠ for known coding blunders.

Tag summary

Content type

Image

Digest

sha256:9be54a017…

Size

3.3 GB

Last updated

2 days ago

docker pull classtranscribe/pythonrpcserver