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:
- Activate a virtualenv
- Install the requirements
Update config.py, and then run:
$ export APP_SETTINGS="project.config.DevelopmentConfig"
or
$ export APP_SETTINGS="project.config.ProductionConfig"
$ 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
$ python manage.py runserver
Without coverage:
$ python manage.py test
With coverage:
$ python manage.py cov