Skip to content

baldarn/open-GAS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Jan 14, 2025
e4e451d · Jan 14, 2025
Jan 14, 2025
Jan 14, 2025
Aug 17, 2024
Jan 14, 2025
Jan 14, 2025
Jan 14, 2025
Sep 14, 2024
Jan 14, 2025
Jul 19, 2024
Jul 17, 2024
Jan 14, 2025
Jul 19, 2024
Jul 17, 2024
Jan 14, 2025
Sep 14, 2024
Jul 17, 2024
Jan 14, 2025
Sep 14, 2024
Jan 14, 2025
Jan 14, 2025
Jan 14, 2025
Jan 14, 2025
Jan 14, 2025
Jan 14, 2025
Jan 14, 2025
Jul 19, 2024
Jul 19, 2024
Jul 19, 2024

Repository files navigation

ci Code Climate Better Stack Badge

Open GAS

The open source software for sports associations

The software is still a work in progress. Expect huge variations.

Develop

I suggest you to use mise

Create the database and seeds:

bin/rails db:create db:migrate db:seed

To develop:

bin/dev

You an reach the app at https://localhost:3000

Tests

Run:

# application tests
bin/rails test

# system tests (E2E)
bin/rails test:system

# all
bin/rails test:all

Lint

We use rubocop and htmlbeautifier to lint

Run:

bundle exec rubocop
bundle exec htmlbeautifier filename

Deploy

We use kamal for deploying.

Copy the .env file:

cp .env.example .env

Configure your env variables.

The first time (after having configured you server), run:

bundle exec kamal setup

Then:

bundle exec kamal deploy