Skip to content

voc/infobeamer-cms

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

36C3 CMS

36c3

About

This is a quickly hacked together content management system running at the 36C3 event in late 2019.

It allows login to users with github accounts and they can upload images/videos. Upon moderation approval it will sync them into a playlist in a scheduled player based setup.

It uses the new adhoc access feature and users will directly upload their assets to info-beamer.com.

Consider this example code and this repository should be treated as a code dump instead of a finished product. The code might help you understand how to use the info-beamer API though.

Installation

Should work somewhat like this on Ubuntu or Debian:

git clone this_repo /opt/infobeamer-cms && cd /opt/infobeamer-cms
python3 -m virtualenv env
. env/bin/activate
pip3 install -r requirements.txt

As for running in "production":

apt install nginx-full
cp infobeamer-cms-nginx.conf /etc/nginx/sites-enabled/
# put required certs into referenced directory
systemctl restart nginx

# adapt those settings
cp settings.example.toml settings.toml


# start via systemd
# make a user that can't logic with no home dir or shell.
useradd -M infobeamer-cms
usermod -L infobeamer-cms
usermod -s /bin/false infobeamer-cms
cp infobeamer-cms.service /etc/systemd/system/
cp infobeamer-cms-runperiodic.service /etc/systemd/system/
cp infobeamer-cms-runperiodic.timer /etc/systemd/system/

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 88.2%
  • Python 9.3%
  • Jinja 2.2%
  • CSS 0.3%