Skip to content

agile-alliance-brazil/event_registrations

Repository files navigation

EventRegistrationsBuild

Sistema de Inscrições

Using:

How to build the environment

  • Install PostgreSQL v. 13.3

  • Start postgresql

    • Example on macOS (brew instalation): pg_ctl -D /usr/local/var/postgres start
  • Check config/database.yml for further information

  • You may need to install the lipq-dev on Linux environments

    • sudo apt install postgresql libpq-dev
  • Install rvm or rbenv - the main development team is using rvm

  • If you choose rvm then - Install the correct version (the examples will use the ruby-3.1.2)

    • rvm install ruby-3.1.2
      • Create the gemset to the project under the correct version
    • In the project folder run:
    • rvm use 3.1.2@event_registrations --create
    • rvm --ruby-version use 3.1.2
    • gem install bundler
    • bundle install
  • In the project folder run:

    • rake db:create
    • rake db:migrate
    • rake db:create RAILS_ENV=test
    • rake db:migrate RAILS_ENV=test
  • CI/CD: Github actions

  • The build relies on rspec and rubocop success

  • In the project folder you should be able to run and check the output of:

    • rspec
    • rubocop -A
  • Run console: rails c

  • Run server: rails s

About

An app to handle event registrations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published