/ContentBuilder

Experiment with Stimulus Reflex to create a Content Builder

Primary LanguageRuby

Rails Content Builder

A first attempt at a content builder of Rails

## Structure

Post - Title | (has many) - Blocks - Type - Text - Textarea - Trix - Image - Gallery - Content - Position -

Changing Rails configuration

Install Yarn packages:

docker-compose exec rails yarn add <package_name>

If you wish to make changes to Rails configuration files, use:

docker-compose stop rails
docker-compose start rails

This will bring the container up in the background with the new configuration.

Executing commands

To execute a command on a running container, use the following command:

# docker-compose exec <container_name> <command>
docker-compose exec rails rails db:migrate