Skip to main content

# Superdesk Server [![Build Status](https://travis-ci.org/superdesk/superdesk-server.png?branch=master)](https://travis-ci.org/superdesk/superdesk-server)

Superdesk Server provides a REST API server for [Superdesk project](https://wiki.sourcefabric.org/x/DgWX). It’s a python app, built on top of [eve](http://python-eve.org/)/[flask](http://flask.pocoo.org/) framework.

There is some basic infrastructure plus app modules for users, authentication, ingest, archive, etc.

## Requirements

We support python version 3.3+.

Other requirements are mongodb server and elasticsearch instance. Both can be configured via environment variables (see [settings.py](./settings.py)).

## Installation

Using virtualenv is recommended for installing python requirements. So once activated, run:

`sh $ pip install -r requirements.txt `

### External libs

For image processing you will need some extra packages:

### Services

  • mongodb

  • elasticsearch

  • redis

## CI

Use nosetests for unit tests:

`sh $ nosetests `

Behave for behaviour testing:

`sh $ behave `

Flake8 for style check:

`sh $ flake8 `

## Running Dev Server

Use honchu to run the app - it will start api server on port 5000, websocket server on port 5100 and celery.

`sh $ honcho start `

### API Documentation

You can see API Documentation on [apiary](http://docs.superdesk.apiary.io/).

## Running cli commands

`sh $ python manage.py `

This will give you list of available commands.

### Creating admin user

This command will create an administrator user.

`sh $ python manage.py users:create -u <username> -p <password> -e <email> `

Metadata

Release files for Superdesk-Server 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Superdesk-Server 0.1.6
File Size Uploaded Provenance Actions
Superdesk-Server-0.1.6.tar.gz 68.2 kB Without provenance Details for Superdesk-Server-0.1.6.tar.gz

Release files / Superdesk-Server-0.1.6.tar.gz

Download URL Superdesk-Server-0.1.6.tar.gz
Size 68.2 kB
Tags Source
SHA-256 checksum
How to use checksums
5f3e4a9cd3135c060dc93fc7aec6ec9b9f30084cac339fba37c9ba8ef43f1ba3
BLAKE2b-256 checksum
How to use checksums
7087fd51050c50da8731aa8997353814786e0f405ba4233c5d4436edd7687675
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for Superdesk-Server 0.1.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page