Skip to content

carolustv/carolus-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Carolus

Build Status

Quick start:

export CAROLUS_MOVIES_PATH="/my/movies/path"
export CAROLUS_TV_PATH="/my/tv/path"
cargo run &
curl http://localhost:3000/api/movies

Build Docker Image

cargo build --release
docker build -t carolustv/carolus .

TLS support

A quick way to get started with using tls is included in the repo (taken from Rocket examples). Run the following:

(cd private && bash ./gen_cert.sh)
export ROCKET_TLS={certs="private/ca_cert.pem",key="private/ca_key.pem"}
cargo run --feature=tls &

License

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at Mozilla MPL 2.0.