Self-made mBaaS in Django
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
accounts
mbaas
push
static
.env.sample
.gitignore
.python-version
LICENSE
README.rst
gunicorn_conf.py
manage.py
nginx.conf
requirements.txt

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)