Skip to content

ownpush/otp_demo_server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OTP Demo Server

Overview

The purpose of this app is to showcase how a developer would integrate OwnPush into their application for secure, end-to-end encrypted push messaging without Google Services, and as such without a negative drain to the device's battery. The OTP Demo App demonstrates a use case for secure messaging whereby the user is given a One-Time Password (OTP) securely. The OTP Demo Server is part of the OTP Demo App, and can be setup via the following process:

Quick Start

Basics

  1. Activate a virtualenv
  2. Install the requirements

Set Environment Variables

Update config.py, and then run:

$ export APP_SETTINGS="project.config.DevelopmentConfig"

or

$ export APP_SETTINGS="project.config.ProductionConfig"

Create DB

$ python manage.py create_db
$ python manage.py db init
$ python manage.py db migrate
$ python manage.py create_admin
$ python manage.py create_data

Run the Application

$ python manage.py runserver

Testing

Without coverage:

$ python manage.py test

With coverage:

$ python manage.py cov

About

Demo server for OwnPush OTP Demo App

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages