Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 1.53 KB

README.md

File metadata and controls

39 lines (29 loc) · 1.53 KB

Seshat RESTful Server

Python Support OpenAPI version Mongo Version Documentation

This is the repository for Seshat's RESTful API server.

Depencencies

Seshat's API server relies on the following dependencies :

  • A working python 3.6>= (default Python version on Ubuntu 18.04)
  • A mongoDB 3.6>= install (it could work with earlier versions)
  • An FFmpeg install (used for FFprobe)

Quick install

This is a quick manual installation overview, just aimed at installing the server. We provide more complete for both Seshat's server and client installation instructions in our install tutorial.

First, git clone the repository, set up its virtual environment, install its dependencies , and set the server's config to prod via a dotenv file:

git clone https://github.com/bootphon/seshat-restful-server
cd seshat-restful-server
python3 -m venv venv/
. venv/bin/activate
python setup.py install
echo FLASK_CONFIG=prod > .env

Then, just run the server with:

python app.py