You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 25, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 25, 2024. It is now read-only.
# apt-get update -qyy
# apt-get install -qyy python3 python3-pip
# update-alternatives --install /usr/local/bin/python python /usr/bin/python3 40
# python -m pip install --upgrade pip
# python -m pip install --upgrade setuptools wheel
# python -m pip install --upgrade dffml-service-http
# dffml service http server --helpusage: dffml service http server [-h] [-mc-config MC_CONFIG] [-mc-atomic] [-key KEY] [-cert CERT] [-port PORT] [-addr ADDR] [-upload-dir UPLOAD_DIR] [-static STATIC] [-js] [-insecure] [-cors-domains CORS_DOMAINS [CORS_DOMAINS ...]] [-allow-caching] [-models MODELS] [-sources SOURCES [SOURCES ...]] [-redirect REDIRECT [REDIRECT ...]] [-portfile PORTFILE] [-log LOG]HTTP server providing access to DFFML APIsoptional arguments: -h, --help show this help message and exit -mc-config MC_CONFIG MultiComm config directory (default: None) -mc-atomic No routes other than dataflows registered at startup (default: False) -key KEY Path to key file (default: server.key) -cert CERT Path to cert file (default: server.pem) -port PORT Port to bind to (default: 8080) -addr ADDR Address to bind to (default: 127.0.0.1) -upload-dir UPLOAD_DIR Directory to store uploaded files in (default: None) -static STATIC Directory to serve static content from (default: None) -js Serve JavaScript API file at /api.js (default: False) -insecure Start without TLS encryption (default: False) -cors-domains CORS_DOMAINS [CORS_DOMAINS ...] Domains to allow CORS for (see keys in defaults dict for aiohttp_cors.setup) (default: []) -allow-caching Allow caching of HTTP responses (default: False) -models MODELS Models configured on start (default: []) -sources SOURCES [SOURCES ...] Sources configured on start (default: []) -redirect REDIRECT [REDIRECT ...] list of METHOD SOURCE_PATH DESTINATION_PATH pairs, number of elements must be divisible by 3 (default: []) -portfile PORTFILE File to write bound port to when starting. Helpful when port 0 was requeseted to bind to any free port (default: None) -log LOG Logging level (default: 20)
Activity
johnandersen777 commentedon Sep 8, 2021