eventman/README.md

91 lines
4.2 KiB
Markdown
Raw Normal View History

2015-03-14 09:40:40 +01:00
Event Man(ager)
===============
2015-03-22 11:08:23 +01:00
Your friendly manager of attendees at an event.
2015-03-14 09:40:40 +01:00
2016-06-27 21:48:37 +02:00
Event Man(ager) will help you handle your list of attendees at an event, managing the list of registered persons and marking persons as present.
2016-05-13 22:55:28 +02:00
Main features:
2016-06-26 20:45:20 +02:00
- an admin (in the future: anyone) can create and manage new events
- events can define a registration form with many custom fields
2016-06-27 13:57:10 +02:00
- a person can join (or leave) an event, submitting the custom forms
2016-06-26 20:45:20 +02:00
- no registration is required to join/leave an event
2016-05-15 11:12:04 +02:00
- quickly mark a registered person as an attendee
- easy way to add a new person, if it's already known from a previous event or if it's a completely new person
- can import Eventbrite CSV export files
2016-05-16 10:09:25 +02:00
- RESTful interface that can be called by third-party applications (see the https://github.com/raspibo/event_man/ repository for a simple script that checks people in using a barcode/QR-code reader)
2016-05-13 22:55:28 +02:00
- ability to run triggers to respond to an event (e.g. when a person is marked as attending to an event)
2016-06-27 13:57:10 +02:00
- can run on HTTPS
- multiple workstations are kept in sync (i.e.: marking a person as an attendee is shown in every workstation currently viewing the list of persons registered at an event)
2016-05-13 22:55:28 +02:00
See the *screenshots* directory for some images.
2015-04-05 23:54:14 +02:00
2015-04-07 23:59:35 +02:00
Development
===========
2015-03-14 18:11:17 +01:00
2016-05-13 22:55:28 +02:00
See the *docs/DEVELOPMENT.md* file for more information about how to contribute.
2015-03-22 11:07:08 +01:00
2015-03-14 18:00:25 +01:00
2015-03-22 10:12:44 +01:00
Technological stack
===================
2015-03-14 18:00:25 +01:00
2015-04-05 23:54:14 +02:00
- [AngularJS](https://angularjs.org/) (plus some third-party modules) for the webApp
2016-06-26 20:45:20 +02:00
- [Angular Easy form Generator](https://mackentoch.github.io/easyFormGenerator/) for the custom forms
2015-04-05 23:54:14 +02:00
- [Bootstrap](http://getbootstrap.com/) (plus [Angular UI](https://angular-ui.github.io/bootstrap/)) for the eye-candy
- [Font Awesome](https://fortawesome.github.io/Font-Awesome/) for even more cuteness
2015-03-22 10:12:44 +01:00
- [Tornado web](http://www.tornadoweb.org/) as web server
- [MongoDB](https://www.mongodb.org/) to store the data
2015-03-14 18:00:25 +01:00
2015-03-22 10:12:44 +01:00
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.
2015-03-22 10:12:44 +01:00
Install and run
===============
2016-04-19 22:13:47 +02:00
Be sure to have a running MongoDB server, locally. If you want to install the dependencies only locally to the current user, you can append the *--user* argument to the *pip* calls. Please also install the *python-dev* package, before running the following commands.
2015-04-07 23:59:35 +02:00
2015-03-22 10:12:44 +01:00
wget https://bootstrap.pypa.io/get-pip.py
sudo python get-pip.py
2016-04-19 22:13:47 +02:00
sudo pip install tornado # version 4.2 or later
sudo pip install pymongo # version 3.2.2 or later
2015-05-16 20:10:10 +02:00
sudo pip install pycups # only needed if you want to print labels
2015-03-22 10:12:44 +01:00
git clone https://github.com/raspibo/eventman
cd eventman
2016-06-27 21:50:48 +02:00
./eventman_server.py --debug
2015-03-15 11:56:28 +01:00
2015-03-22 10:12:44 +01:00
Open browser and navigate to: http://localhost:5242/
2015-03-15 11:56:28 +01:00
2015-04-26 15:19:24 +02:00
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
==============
2016-06-27 13:57:10 +02:00
By default, authentication is not required; unregistered and unprivileged users can see and join events, but are unable to edit or handle them. Administrator users can create ed edit events; more information about how permissions are handled can be found in the *docs/DEVELOPMENT.md* file.
The default administrator username and password are **admin** and **eventman**. If you want to force authentication, run the daemon with --authentication=on
2016-05-15 11:12:04 +02:00
Demo database
=============
In the *data/dumps/eventman\_test\_db.tar.gz* you can find a sample db with over 1000 fake persons and a couple of events to play with. Decompress it and use *mongorestore* to import it.
2015-03-15 11:56:28 +01:00
2015-03-22 10:12:44 +01:00
License and copyright
=====================
2015-03-15 11:56:28 +01:00
2016-04-19 22:13:47 +02:00
Copyright 2015-2016 Davide Alberani <da@erlug.linux.it>, RaspiBO <info@raspibo.org>
2015-03-15 11:56:28 +01:00
2015-03-22 10:12:44 +01:00
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
2015-03-22 10:12:44 +01:00
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.
2015-03-15 11:56:28 +01:00