settings
This commit is contained in:
14
README.md
14
README.md
@@ -1,10 +1,10 @@
|
||||
django-progressive-web-app
|
||||
django-pwa
|
||||
=====
|
||||
This Django app turns your project into a [progressive web app](https://developers.google.com/web/progressive-web-apps/). Navigating to your site on an Android phone will prompt you to add the app to your home screen.
|
||||
|
||||

|
||||

|
||||
|
||||
Launching the app from your home screen will display your app [without browser chrome](https://github.com/svvitale/django-progressive-web-app/raw/master/images/screenshot2.png). As such, it's critical that your application provides all navigation within the HTML (no reliance on the browser back or forward button).
|
||||
Launching the app from your home screen will display your app [without browser chrome](https://github.com/silviolleite/django-pwa/raw/master/images/screenshot2.png). As such, it's critical that your application provides all navigation within the HTML (no reliance on the browser back or forward button).
|
||||
|
||||
Requirements
|
||||
=====
|
||||
@@ -15,7 +15,7 @@ Installation
|
||||
Install from PyPI:
|
||||
|
||||
```
|
||||
pip install django-progressive-web-app
|
||||
pip install django-pwa
|
||||
```
|
||||
|
||||
Configuration
|
||||
@@ -32,12 +32,12 @@ INSTALLED_APPS = [
|
||||
|
||||
Configure your app name, description, and icons in settings.py:
|
||||
```python
|
||||
PWA_APP_NAME = 'My Kickass App'
|
||||
PWA_APP_DESCRIPTION = "Do kickass things all day long without that pesky browser chrome"
|
||||
PWA_APP_NAME = 'My App'
|
||||
PWA_APP_DESCRIPTION = "My app description"
|
||||
PWA_APP_THEME_COLOR = '#0A0302'
|
||||
PWA_APP_BACKGROUND_COLOR = '#ffffff'
|
||||
PWA_APP_DISPLAY = 'standalone'
|
||||
PWA_APP_ORIENTATION = 'portrait-primary'
|
||||
PWA_APP_ORIENTATION = 'any'
|
||||
PWA_APP_START_URL = '/'
|
||||
PWA_APP_ICONS = [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user