Skip to content

c3d2/pentamedia-portal

 
 

Repository files navigation

Pentamedia Portal

is written in python3.

Websites:

Project-Page: http://pentamedia.hq.c3d2.de
Code: http://gitorious.hq.c3d2.de/pentamedia/
Feature Requests, Bugs: https://wiki.c3d2.de/Pentamedia-Portal


Related Websites:
C3D2: https://c3d2.de
Radio: https://c3d2.de/radio.html
Podcast: https://c3d2.de/podcast.html
Musik: https://c3d2.de/musik.html
Pentasubmitter: http://pentamedia.c3d2.de/submit/


=== Dependencies

  Juno - light webframework (https://github.com/dodo/juno)
  Jinja2 - template engine (http://jinja.pocoo.org/2/)
  SQLAlchemy - database framework (http://www.sqlalchemy.org/)
  lesscss - css compiler (http://lesscss.org/)
  markdown - format syntax (http://gitorious.org/python-markdown)
  VideoJS- (https://github.com/zencoder/video-js)
  AudioJS - (https://github.com/dz0ny/AudioJS)

=== Install

  · get all dependencies
  · run git submodules init
  · use master branch from juno
  · convert jinja2 and markdown with 2to3
  · run sa2to3.py in sqlalchemy
  · install all dependencies
  · apply other patches on your python3 library
    (hint: smth like this ↓
      sudo patch -p 1 -d /usr/lib/python3.1/ < cgi.patch
      sudo patch -p 2 -d /usr/lib/python3.1/wsgiref/ < wsgiref.patch
    )

  note:
  if dependencies can't be installed because of missing setuptools
  cp distribute_setup.py to dep-dir and and this lines into the setup.py:

    #before import setuptools
    from distribute_setup import use_setuptools
    use_setuptools()

  than you can use setup.py normaly with:

    sudo python3 setup.py install

=== Use

  run cwebfetcher.py to feed the db
  start server.py

Releases

No releases published

Packages

No packages published

Languages

  • Python 57.3%
  • Smarty 22.5%
  • CSS 16.2%
  • HTML 2.2%
  • JavaScript 1.8%