/themes_app

A small app which enables you to change colors of subsites by setting variables.

Primary LanguageHTML

Themes app

About

It is a simple app which helps you to customize basic colors(primary, secondary and background) of Bootstrap. You can create multiple "sites" with different themes. Several times a minute the app checks for updates and, if something changes, runs docker container with grunt which creates new bootstrap.css for updated site.

Used tools

Backend

Frontend

Prerequisites

Usage

Postgres and Redis

You can run Postgres and Redis with docker:

docker-compose up

Development

Build

docker build -t themesapp/grunt .
bundle install
rails db:create
rails db:migrate

Test

bundle exec rake test

Run

bundle exec sidekiq
rails s