Skip to content

toulibre/agendadulibreshow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Agenda du libre midi-pyrénées

Récupère le RSS de l'agenda du libre et l'affiche dans une page web.

Utilise la bibliothèque feedparser pour récupérer le flux RSS, et le microframework python Flask pour afficher les événements dans une page web.

Installation

Pré-requis

sudo apt-get install python-pip python-virtualenv
sudo apt-get install libapache2-mod-wsgi # si vous utilisez apache

Installation

Cloner le repo et créer un virtualenv

git clone https://github.com/toulibre/agendadulibreshow.git
cd agendadulibreshow
pip install -r requirements.txt

Lancer l'application

cd agendadulibre
python app.py

Déploiement avec Apache

Ajouter un virtualhost:

<VirtualHost *:80>
    ServerAdmin webmaster@mydomain
    ServerName mydomain

    WSGIDaemonProcess /path/to/agendadulibreshow/agendadulibre/agendadulibre.wsgi
    <Directory /opt/agendadulibreshow/agendadulibre>
        WSGIProcessGroup agendadulibre
        WSGIApplicationGroup %{GLOBAL}
        Order allow,deny
        allow from all
    </Directory>

</VirtualHost>

License

Ce bout de code est sous licence MIT <LICENSE.txt>.

About

Show events from RSS of agenda du libre

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published