akdasa / gem

Application to improve GBC meeting experience
1 stars 1 forks source link

GitHub Logo

Application to improve GBC meeting experience

Installation

Dependencies

  1. Install https://wkhtmltopdf.org/
  2. Install python requirements:
    pip3 install -r requirements.txt

Assets

Compile assets and seed a database

pip3 install -r requirements.txt
python3 ./tools/assets_compile.py
python3 ./install.py

Configure

Edit config.ini

[db]
host = mongodb_host
port = 27017
name = gem

[printer]
path = files
zoom = 4

Development

Run development server

export FLASK_DEBUG=1
export FLASK_APP=main.py
flask run

Run watchdog to compile assets automatically

pip3 install watchdog
python3 ./tools/assets_watchdog.py