angular_app | ||
data | ||
ssl | ||
static | ||
templates | ||
.gitignore | ||
backend.py | ||
DEVELOPMENT.md | ||
eventman_server.py | ||
LICENSE.txt | ||
README.md | ||
utils.py |
Event Man(ager)
Your friendly manager of attendees at an event.
Development
See the DEVELOPMENT.md file for more information about how to contribute.
Technological stack
- AngularJS (plus some third-party modules) for the webApp
- Bootstrap (plus Angular UI) for the eye-candy
- Font Awesome for even more cuteness
- Tornado web as web server
- MongoDB to store the data
The web part is incuded; you need to install Tornado, MongoDB and the pymongo module on your system (no configuration needed). If you want to print labels using the print_label trigger, you may also need the pycups module.
Coding style and conventions
It's enough to be consistent within the document you're editing.
I suggest four spaces instead of tabs for all the code: Python (mandatory), JavaScript, HTML and CSS.
Python code documented following the Sphinx syntax.
Install and run
Be sure to have a running MongoDB server, locally.
wget https://bootstrap.pypa.io/get-pip.py
sudo python get-pip.py
sudo pip install tornado
sudo pip install pymongo
cd
git clone https://github.com/raspibo/eventman
cd eventman
./eventman_server.py --debug
Open browser and navigate to: http://localhost:5242/
If you store SSL key and certificate in the ssl directory (default names: eventman_key.pem and eventman_cert.pem), HTTPS will be used: https://localhost:5242/
Authentication
By default, authentication is required; default username and password are admin and eventman. If you want to completely disable authentication, run the daemon with --authentication=off
License and copyright
Copyright 2015 Davide Alberani da@erlug.linux.it
RaspiBO info@raspibo.org
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.