Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dvarrazzo/psycopg-pgdayuk-2013
Psycopg slideshow with async push demo
https://github.com/dvarrazzo/psycopg-pgdayuk-2013
Last synced: 22 days ago
JSON representation
Psycopg slideshow with async push demo
- Host: GitHub
- URL: https://github.com/dvarrazzo/psycopg-pgdayuk-2013
- Owner: dvarrazzo
- Created: 2013-07-10T23:50:03.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-07-12T19:55:44.000Z (over 11 years ago)
- Last Synced: 2024-10-14T17:58:27.790Z (25 days ago)
- Language: JavaScript
- Size: 781 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
Awesome Lists containing this project
README
Psycopg slideshow at PGDay 2013
===============================An experiment using Landslide__ to produce an `HTML5 slideshow`__.
.. __: https://github.com/adamzap/landslide
.. __: https://code.google.com/p/html5slides/Usage
-----In order to render the slideshow, just install Landslide and::
cd slides
make html
make pdf # This requires Prince, see Landslide docsThe slideshow has an interactive part with more complex requirements: you can
build the entire environment with::virtualenv env
source env/bin/activate
pip install -r requirements.txtRun the ``pushdemo.py`` script with a connection string as first argument
(hint: quote it)::python slides/pushdemo.py "user=postgres dbname=test"
Display the html slideshow. At the demo page, connect to the same database
using psql and execute something like::NOTIFY data, 'blue';
NOTIFY data, 'red';