- Ruby 2.5 or later
- Bundler
- webpack w/ npm and yarn
- PostgreSQL (at least we need jsonb support)
bundle install
yarn install
bundle exec rake db:migrate
Run the following 2 concurrently:
bundle exec rails server
./bin/webpack --watch
Specify AWS_REGION & IOI_SQS_QUEUE_PREFIX and run:
bundle exec shoryuken -R -C ./config/shoryuken.yml
docker build -t ioi_console .
GITHUB_CLIENT_IDGITHUB_CLIENT_SECRETGITHUB_ACCESS_TOKENGITHUB_TEAMS
SQS is activated when IOI_SQS_QUEUE_PREFIX is given
IOI_SQS_REGION(optional, default toAWS_REGION)IOI_SQS_QUEUE_PREFIX- no need to have
_at the end, ActiveJob gives delimiter between the prefix and queue name, and it defaults to_
- no need to have
IOI_SHORYUKEN_QUEUE(for shoryuken worker, optional, specify single queue name to activate long polling)IOI_SHORYUKEN_CONCURRENCY(for shoryuken worker, optional, default to15)
IOI_S3_LOG_REGIONIOI_S3_LOG_BUCKETIOI_S3_LOG_PREFIX
IOI_SSM_PROCESS_EVENTS(optional, default to0; set1to disable polling)IOI_SSM_REGIONIOI_SSM_LOG_S3_REGIONIOI_SSM_LOG_S3_BUCKETIOI_SSM_LOG_S3_PREFIXIOI_SSM_SCRATCH_S3_REGIONIOI_SSM_SCRATCH_S3_BUCKETIOI_SSM_SCRATCH_S3_PREFIX