iqasport / referee_hub

The hub for all internal data and management of that data in the IQA.
3 stars 4 forks source link
foreman heroku rails react redis ruby yarn

README

CircleCI codecov Heroku CodeFactor

Getting Started

If you want to use docker for development purposes instead of installing tools and services manually, see docker/README.md.


It's highly recommended you use a ruby version manager during development of this app. The locked ruby version is '2.7.1' and is required to develop on the application.


CSS

CSS is compiled using PostCSS and Tailwind. See configuration in postcss.config.js which imports packages defined in package.json.

Compiled CSS is included in the core application for single pages (like auth) and for the SPA.

We can use AWS CloudFront to be a CDN on top of our application. The service hosts static files such as CSS/JS in a normal way. We have a CF endpoint pointing at our service. We use the CF endpoint when referring to our static assets so that they're cached and geo distributed.

In rails this was done automatically using these instructions https://devcenter.heroku.com/articles/using-amazon-cloudfront-cdn#adding-cloudfront-to-rails and by calling special tags in views.