Skip to content

A Flask webapp for displaying hand-written barcamp session grids on mobile devices

License

Notifications You must be signed in to change notification settings

jacebrowning/WaznexServer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WaznexServer

An Online BarCamp Session Grid Viewer

Waznex Server (What's Next?) is a web application server designed for BarCamp Grand Rapids, but which should be useful for other BarCamps or conferences with a rapidly-changing physical session grid. Its purpose is to host an online version of the meatspace presentation session grid. Essentially, attendees upload a photo of the session grid to the WaznexServer instance, and the server shows the three most recently uploaded photos. This allows attendees to see what's going on in upcoming sessions without going out to the lobby.

Waznex Server is based on the Flask microframework and can easily be hosted on a Linux or OSX server. I currently recommend running in production on an Ubuntu 14.04 Digital Ocean 1GB instance.

Version 0.4 (current stable)

  • Added Vagrant for easier development

Version 0.3

  • Newer versions of Flask and dependencies.
  • Diagnostic image link between sizes and mark bad.
  • Mark bad button.

Version 0.2

  • It now has a database backend using SQLAlchemy instead of the thread-unsafe global list. This has only been tested with Sqlite so far.
  • You can now control how many images are shown on the main page - it's no longer hard-coded to 3.

Version 0.1

Capabilities

  • Version 0.1 includes the bare essentials of a working server.
  • It can accept file uploads and will display the three most recent uploads using the mobile web theme.
  • It generates two additional sized versions of each photo: a downsized version with maximum size of 1024x1024 pixels, and a thumbnail version with a maximum size of 316x316 pixels. The downsized version is useful for viewing on mobile platforms that limit download size (WebOS). The thumbnail version is sized to fit the mobile theme width.

Tested on

  • Ubuntu 14.04 LTS Server

Installation

Development

  1. Install Vagrant and a provider (VirtualBox)
  2. Install git
  3. git clone https://github.com/brousch/WaznexServer.git
  4. cd WaznexServer
  5. vagrant up
  6. vagrant ssh

Production on Ubuntu 14.04 64bit

  1. sudo apt-get install -y git nginx python-dev python-virtualenv libjpeg62 libjpeg-dev libfreetype6 libfreetype6-dev libtiff5 libtiff5-dev libwebp5 libwebp-dev zlib1g-dev
  2. mkdir /opt/waznexserver
  3. cd /opt/waznexserver
  4. git clone https://github.com/brousch/WaznexServer.git
  5. cd WaznexServer
  6. make create_venv

Configuration

  • Modify the image, downsized, and thumbnail paths found near the top of main.py to reflect your file system.
  • Modify the templates/index.html file to change the page title.
  • Modify the static/css/main.css file to change the style.
  • Also be sure to disable debugging in a live deployment.

Running

Development

  1. cd /opt/waznexserver/Waznexserver
  2. make run

Production

Roadmap

  • Better documentation
  • Also see TODO

About

A Flask webapp for displaying hand-written barcamp session grids on mobile devices

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 76.8%
  • HTML 8.5%
  • CSS 5.5%
  • Shell 4.7%
  • Nginx 1.9%
  • JavaScript 1.5%
  • Makefile 1.1%