Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/saschpe/message-webservice
A Django website that provides pull notifications to subscribers (such as Android or iOS apps). Apps can query messages based on their version.
https://github.com/saschpe/message-webservice
bash django django-admin docker nginx python python-3 supervisord tastypie
Last synced: 26 days ago
JSON representation
A Django website that provides pull notifications to subscribers (such as Android or iOS apps). Apps can query messages based on their version.
- Host: GitHub
- URL: https://github.com/saschpe/message-webservice
- Owner: saschpe
- Created: 2016-11-06T15:33:06.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2021-06-11T05:48:29.000Z (over 3 years ago)
- Last Synced: 2023-03-10T20:47:52.551Z (over 1 year ago)
- Topics: bash, django, django-admin, docker, nginx, python, python-3, supervisord, tastypie
- Language: Python
- Homepage: https://www.hotel.de/
- Size: 44.9 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
Message Webservice
==================A Django website that provides pull notifications to subscribers (such as
Android or iOS apps). Apps can query messages based on their version.Requirements
------------- `Python 3`_
Hacking
-------This project uses a virtual environment, activate it with this command:
.. code:: bash
source .venv/bin/activate
To install all the project's development dependencies:
.. code:: bash
pip install -r requirements/dev.txt
To set up the database and load initial data run:
.. code:: bash
python manage.py migrate
python manage.py loaddata notifications/fixtures/initial_data.jsonTo set up a (super) user for the admin interface:
.. code:: bash
python manage.py createsuperuser
Afterwards, you should have a fully functional instance at
http://127.0.0.1:8000/
Since there is no real browseable web interface, you'll be redirected to the
admin interface right away. The REST API is accessible athttp://127.0.0.1:8000/api/v1?format=json
Makes use of two additional Django modules:
https://django-modeltranslation.readthedocs.org
https://django-tastypie.readthedocs.orgDeployment
----------The simplest way to deploy this application is via docker_. Assuming you have
docker_ setup, you can simply do:.. code:: bash
./scripts/docker/build
./scripts/docker/run.. _Python 3: https://www.python.org/downloads/
.. _docker: https://www.docker.com/