This is the repository for Seshat's RESTful API server.
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)
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