2015-03-14 09:40:40 +01:00
|
|
|
Event Man(ager)
|
|
|
|
===============
|
|
|
|
|
|
|
|
Manage attendants at an event.
|
|
|
|
|
2015-03-14 18:11:17 +01:00
|
|
|
Notice
|
|
|
|
======
|
|
|
|
|
|
|
|
No, this project is not ready, yet.
|
|
|
|
|
|
|
|
I'll let you know when I'm finished experimenting with it and you can contribute.
|
|
|
|
|
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-03-22 10:12:44 +01:00
|
|
|
- [AngularJS](https://angularjs.org/) for the webApp
|
|
|
|
- [Bootstrap](http://getbootstrap.com/) (plus [jQuery](https://jquery.com/)) for the eye-candy
|
|
|
|
- [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).
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
2015-03-14 18:00:25 +01:00
|
|
|
|
2015-03-22 10:17:04 +01:00
|
|
|
Python code documented following the [Sphinx](http://sphinx-doc.org/) syntax.
|
|
|
|
|
2015-03-14 18:00:25 +01:00
|
|
|
|
2015-03-15 11:56:05 +01:00
|
|
|
Install and run
|
|
|
|
===============
|
|
|
|
|
2015-03-22 10:12:44 +01:00
|
|
|
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
|
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-03-22 10:12:44 +01:00
|
|
|
License and copyright
|
|
|
|
=====================
|
2015-03-15 11:56:28 +01:00
|
|
|
|
2015-03-22 10:12:44 +01:00
|
|
|
Copyright 2015 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-15 11:56:05 +01:00
|
|
|
|
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
|
|
|
|