Skip to content

Hareramrai/cran_projects

Repository files navigation

Cran Projects

About

This is a Ruby on Rails API based application & it index all the available packages on a CRAN server, extract all the required information for each package, and store it in an appropriate format.

System dependencies

  1. Ruby 2.7.2
  2. Rails 6.0.3
  3. Postgres
  4. Docker for Mac

Development Setup

  • Build Docker

docker-compose build

  • Database creation

docker-compose run web rake db:setup

  • Start the Application   docker-compose up

How to run the test suite

docker-compose run -e RAILS_ENV=test web rspec

Patterns of Development

I personally try to keep things simple and small as much as possible. I am a fan of DRY but don't like to go super dry.

Btw I am a good believer in the single responsibility principle & prefer to have a number of classes instead of having a giant single class.

Deployment instructions

  • git push heroku master

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages