This project is a backend repository for OSS-Compass, based on Rails 7 and Ruby 3.
You need to do few small steps to run the app
git clone https://github.com/oss-compass/compass-web-service
cd compass-web-servicecp .env.example .env.localEnvironment 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.
create databases
rails db:setupdatabase migration
rails db:migraterails sStart a scheduled task service to regularly update project reports as well as summary reports.
bundle exec crono -e developmentStart an asynchronous task queue for use in checking repository validity and handling exceptional requests, etc.
bundle exec rake rabbitmq:start