Contributees / First-Ruby-Quest

Web app referencing ruby related open source issues suitable for a first contribution and/or junior developers (or any developpers!)
MIT License
1 stars 2 forks source link

Move issue generator into a job #4

Closed Oli0li closed 11 months ago

Oli0li commented 11 months ago

This PR sets up Sidekiq (https://github.com/Contributees/First-Ruby-Quest/issues/5) and moves the logic we had to make the API call and create Issues from the Issue model to a Sidekiq job.

This job will only be used to get new issues. We will create another job to update the information of pre-existing issues in a future PR.

I added a piece of code to require a username and password when trying to access the Sidekiq dashboard in production. I'll try it out when this is merged and I've deployed. I'll also see if I can schedule this job with Heroku scheduler once I've deployed.