Esta proyecto pretende visualizar los feriados del presente año. Para ello se obtiene la información de la API del gobierno que contiene todos los feriados legales de Chile https://apis.digital.gob.cl/fl/
https://feriados.herokuapp.com/
- Ruby version: ruby 3.0.0
- PostgreSQL: PostgreSQL 13.1
- Rails version: Rails 6.1.3
- yarn
- node
The instruction for the installation is available here.
- Install version of Ruby specified in
Gemfileand.ruby-version. - Install bundler:
gem install bundler - Install gems from
Gemfile:bundle install - Run
yarn install --check-files
- Environment Variables: Use
.env.templateas a template. HOLIDAYS_API_URL='https://apis.digital.gob.cl/fl/feriados'
- Create database:
rails db:create - Run pending migrations:
rails db:migrate