Skip to content

propedeutica/lastablas

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3ffeca9 · Aug 31, 2016
May 7, 2016
Aug 31, 2016
May 7, 2016
Aug 31, 2016
Aug 31, 2016
May 7, 2016
May 7, 2016
Jun 14, 2016
Aug 31, 2016
May 7, 2016
Aug 20, 2016
Jul 1, 2016
May 9, 2016
Jul 20, 2016
May 7, 2016
Aug 21, 2016
Aug 21, 2016
Aug 21, 2016
Aug 4, 2016
May 21, 2016
Jul 29, 2016
May 7, 2016
May 7, 2016
May 7, 2016
Aug 1, 2016
Aug 20, 2016
May 7, 2016

Repository files navigation

Catequesis

Introduction

This application tries to make it possible to reserve places in church school or similar system. Parents can sign up and then add their offspring, and then ask for a particular shift where they want to be assigned.

##TODO There is a TODO file describing what is still missing

Configuration

This application has been created to be deployed in OpenShift online v 2. You need:

  • An OpenShift online account
  • A Rails cartridge (currently OpenShift 2 only supports Rails 4.1)
  • A PostgreSQL cartridge (to connect to) I recommend to set up the application as an elastic one so the database is in a different place
  • Environment variables (rhc env set):
    • GMAIL_DOMAIN
    • GMAIL_PASSWORD
    • GMAIL_USERNAME

If you are using gmail, you should use two-factor authentication to avoid the account to be considered as an spam account

Description

Catequesis (Las Tablas) is a simple program to make it possible distributed assignment of shifts to students that can not do it by themselves, so their parents do it in their behalf. There are different rooms that hold classes in parallel, and each of those rooms have a shift. A new student needs to be assigned to one of the shifts for the full course. Rooms have a capacity, but some of the shifts can have some places reserved (prebooked) for different reasons, and the parent is free to choose any shift that has some free space left.

Users

Users are identified with parents. They can add and delete offspring and assigning them so a shift. Only one parent is in the system, and there is no option for two parents (although it could be added). They can sign up and add children into the system, and they can assign those children to shifts that has some space available. They can also delete those children from the system. The amount of information requested is the minimum possible.

Offsprings

Offsprings are related to parents and they are the subject that is assigned to a shift. An offspring is assigned to a single shift for the year.

Room and shift

There are different rooms that can be assigned. Each one has different shifts that corresponds to a group of students and a teacher.

An offspring can only be assigned to a shift in a single room. Trying to add another will result in the first one being deleted.