Skip to content

luke-denton-aligent/magento-meanbee-pwa

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Meanbee_PWA

Add Progressive Web App features to your Magento store.

Features included:

  • A customisable Service Worker
  • Caching page assets for faster page loads
  • Offline caching catalog and CMS for viewing previously visited pages when in poor network conditions

Installation

modman clone [email protected]:meanbee/magento-meanbee-pwa.git
modman deploy magento-meanbee-pwa

Usage

Most available features are turned on automatically and require no configuration to work. However, features can be configured and customised in System > Configuration > General > Web > Progressive Web App Settings.

Development

Setting up a development environment

To setup the development environment for the module using Docker, run the following:

docker-compose up -d db # Allow a couple of seconds for MySQL to setup itself
docker-compose run --rm tools bash /src/setup.sh
docker-compose up -d

Testing service workers on Chrome

Chrome is very strict about security and only allows service workers on localhost, or on an HTTPS site with a valid certificate. To bypass these restrictions for testing, use the --ignore-certificate-errors and --unsafely-treat-insecure-origin-as-secure flags to run a less secure copy of Chrome:

/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome \
    --user-data-dir=/tmp/chrome \
    --ignore-certificate-errors \
    --unsafely-treat-insecure-origin-as-secure=https://pwa-magento.docker

About

Progressive Web App extension for Magento 1

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 39.1%
  • JavaScript 29.8%
  • ApacheConf 18.7%
  • Shell 8.4%
  • HTML 4.0%