Skip to content

oss-compass/compass-web-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Releases

No releases published

Packages

No packages published

Languages