Skip to content

University project. Events website in Ruby On Rails.

License

Notifications You must be signed in to change notification settings

marcedavi/dbg-events

Repository files navigation

DBG Events

Ruby on Rails university project.

TODO

  • Registrazione di utenti
  • Registrazione di organizzatori
  • Permettere ad organizzatori di creare eventi
  • Permettere agli utenti di ricercare eventi
  • Permettere agli utenti di registrarsi e deregistrarsi da eventi
  • Impedire ad utenti di registrarsi ad un evento se concomitante ad un altro ai quali sono già iscritti
  • Permettere agli organizzatori di consultare la lista dei partecipanti ai propri eventi ed eventualmente rimuovere utenti iscritti indesiderati dai propri eventi
  • Sistema di notifiche per utenti e organizzatori
  • Possibilità da parte degli organizzatori di inviare messaggi (tramite notifica) a tutti gli iscritti ad un proprio evento
  • Possibilità degli organizzatori di gestire una blacklist per utenti la quale impedirà agli utenti bannati di iscriversi agli eventi da loro creati
  • Sistema di chat tra organizzatori ed utenti

Ruby version

Ruby 3.1.1

Rails ~> 7.0.2

System dependencies

The project is dockerized so you only need Docker and docker-compose.

Configuration

When creating new files inside the container with the rails command, they will be owned by root, so you need to fix the permissions for your editor to be able to edit them:

sudo chown -R $USER:$USER .

Database creation

Database initialization

Migrate the database:

docker exec -it <container_name> rails db:migrate

How to run the test suite

Services (job queues, cache servers, search engines, etc.)

Deployment instructions

To start the app in development:

docker-compose up -d

To start the app in test:

docker-compose -f docker-compose.yml -f docker-compose-test.yml up -d

To start the app in production:

docker-compose -f docker-compose.yml -f docker-compose-production.yml up -d

Changes to the Gemfile or the Dockerfile, should be the only times you’ll need to:

docker-compose build

About

University project. Events website in Ruby On Rails.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published