Skip to content

oss-compass/compass-web-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7c5f15f · Feb 24, 2025
Apr 8, 2024
Feb 5, 2025
Aug 22, 2022
Feb 8, 2023
Oct 23, 2024
Jan 15, 2025
Jul 25, 2022
Jan 10, 2024
Oct 21, 2024
Jul 14, 2022
May 18, 2023
Nov 13, 2023
Oct 31, 2024
Jul 14, 2022
Jul 14, 2022
Jan 15, 2024
Jul 14, 2022
Jul 14, 2022
Oct 21, 2024
Aug 17, 2022
Jul 14, 2022
Jul 14, 2022
Dec 4, 2024
Sep 8, 2023
Jul 14, 2022
Jul 14, 2022
Jul 14, 2022
Dec 4, 2024
Apr 8, 2024
Apr 8, 2024
Dec 4, 2024
Feb 24, 2025
Nov 6, 2022
Aug 22, 2022
Jan 11, 2023
Nov 7, 2022
Apr 8, 2024
Jul 14, 2022

Compass Web Service

This project is a backend repository for OSS-Compass, based on Rails 7 and Ruby 3.

Running this app

You need to do few small steps to run the app

Clone the repo

git clone https://github.com/open-metrics-code/compass-web-service
cd compass-web-service

Copy example file

cp .env.example .env.local

Environment variables defined here(.env), feel free to change or add variables as needed. This file is ignored from git (Check .gitignore) so it will never be commit.

If you use different values for environment variables in other envs, e.g. test, you need to copy one more: .env.test.local

Note .env.test is used by github workflows.

Setup the project

create databases

rails db:setup

database migration

rails db:migrate

Start the project

rails s

Cron tasks

Start a scheduled task service to regularly update project reports as well as summary reports.

bundle exec crono -e development

Start sneaker workers

Start an asynchronous task queue for use in checking repository validity and handling exceptional requests, etc.

bundle exec rake rabbitmq:start