Skip to content

Latest commit

 

History

History
55 lines (29 loc) · 1.19 KB

README.rst

File metadata and controls

55 lines (29 loc) · 1.19 KB

PWA

![PyPI - Versions from Framework Classifiers](https://img.shields.io/pypi/frameworkversions/django/django-simple-pwa) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/django-simple-pwa) ![PyPI - Implementation](https://img.shields.io/pypi/implementation/django-simple-pwa) ![PyPI - Wheel](https://img.shields.io/pypi/wheel/django-simple-pwa)

PWA

PWA is a simple Django app to develop and deploy a Progressive Web Application.

Detailed documentation is in the "docs" directory.

Quick start

  1. Add "pwa" to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [
        ...,
        'pwa',
    ]
    
  2. Include the pwa URLconf in your project urls.py like this:

    path('', include('pwa.urls')),
    
  3. Run python manage.py collectstatic to get the PWA static files.

  4. Load pwa & its meta files in index HTML file like as:

    {% load pwa %}
    {% pwa_meta_data %}
    {% pwa_meta_script %}
    
  5. Start the development server on HTTPS or localhost to see installable app.

github: https://github.com/bambier/django-simple-pwa

documents: https://django-simple-pwa.readthedocs.io/fa/latest/

pypi: https://pypi.org/project/django-simple-pwa/