Skip to content
Self-made mBaaS in Django
Python HTML JavaScript
Branch: master
Clone or download
Latest commit 788cea2 Dec 27, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
accounts Convert to python3 May 3, 2017
mbaas #28 Fix Debug mode Nov 10, 2016
push
static #26 Implementation request put method Nov 16, 2016
.env.sample Cleared conflict Oct 30, 2016
.gitignore Update .gitignore Sep 4, 2017
.python-version Version up to python3 for libraries & local python version May 3, 2017
LICENSE Create LICENSE Sep 25, 2016
README.rst Revert "Modify README.rst" May 7, 2017
gunicorn_conf.py Add gunicorn_conf.py Sep 4, 2017
manage.py Merge branch 'master' into mysql-deploy Oct 15, 2016
nginx.conf Update nginx.conf Dec 27, 2017
requirements.txt Change apns library Sep 4, 2017

README.rst

django-mbaas

Description

Push notification service for iOS

Installation

Prepare

$ git clone https://github.com/nnsnodnb/django-mbaas.git
$ cd django-mbaas/
$ pip install -r requirements.txt
$ cp mbaas/settings.py.sample mbaas/settings.py
# Edit it if necessary (Email infomation etc.)
$ python manage.py migrate
$ python manage.py createsuperuer

In addition, add the following to the cron.

* * * * * python /path/to/manage.py startbatches

If you use this product on debug mode.

$ python manage.py runserver
# Example of command options under
$ python manage.py runserver 0.0.0.0:8000

If you use this product on production mode

To False DEBUG of in mbaas/setttings

$ gunicorn mbaas.wsgi:application
# Example of command options under
$ gunicorn mbaas.wsgi:application --bind 0.0.0.0:8000 -D

LICENSE

Apache-2.0 License

Author

Yuya Oka (nnsnodnb)

You can’t perform that action at this time.