Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • postgres_integration
  • s3compatible
  • intros
  • bootstrap4
  • modules
6 results

website

  • Clone with SSH
  • Clone with HTTPS
  • Schildergenerator

    A web page to quickly create and print signs using a common design. Especially useful for events.

    Dependencies

    • python-flask python-genshi python-pythonmagick
    • pdflatex latex-beamer
    • libapache2-mod-wsgi (if not used in debug mode)

    Config

    • copy config.py.example to config.py and edit it to your needs.
    • copy schildergen.wsgi.example to schildergen.wsgi and edit it.

    Apache Config

    See also http://flask.pocoo.org/docs/deploying/mod_wsgi/

    LoadModule wsgi_module /usr/lib/apache2/modules/mod_wsgi.so WSGIRestrictStdout Off

    <VirtualHost *:443>
    	ServerAdmin admin@server.test
    	DocumentRoot /path/to/schildergen
    	ServerName server.name.org
    	AddDefaultCharset utf-8
    	ErrorLog /path/to/log
    	CustomLog /path/to/log
    	
    	SSLEngine on
    	SSLCertificateFile /path/to/www.example.com.cert
    	SSLCertificateKeyFile /path/to/www.example.com.key
    
    	WSGIDaemonProcess schildergen user=www-data group=www-data threads=2
    	WSGIScriptAlias / /path/to/schildergen.wsgi
    
    	<Directory /path/to/schildergen.wsgi>
    	        AllowOverride All
    	        WSGIProcessGroup schildergen
    	        WSGIApplicationGroup %{GLOBAL}
    	        WSGIScriptReloading On
    	        Order deny,allow
    	        Allow from all
    	</Directory>
    </VirtualHost>

    Contributors

    Image Sources