This is just a demo implementation of the Ratchet push tutorial page.
- Ansible
>= 1.7
- Vagrant
>= 1.7.3
- Run
vagrant up
and thenvagrant ssh
- Start the server by running
php /var/www/bin/push-server.php
- Open
client.html
in your browser to subscribe for notifications - Now open a new terminal window, run again
vagrant ssh
and thenphp /var/www/bin/post.php
to generate a push notification - Look at the browser console to make sure push message has been received
The MIT License (MIT). Please see LICENSE for more information.