Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 1.76 KB

README.md

File metadata and controls

40 lines (30 loc) · 1.76 KB

Hotwire Example Template

A collection of demonstrations of how to implement features by sending HTML over the wire.

Deploy to Heroku

How to read this repository

Through the power of incremental Git diffs, each of this repository's branches provides a step-by-step demonstration of how to implement a feature or behavior.

This repository's main branch serves as the root all of the other branches, and consists of a handful of commits generated by the Rails command line interface.

When reading a branch's source code, read the changes commit-by-commit either on the branch comparison page (for example, main...hotwire-example-live-preview), the branch's commits page (for example, hotwire-example-live-preview), or the branch's README.md file (for example, hotwire-example-live-preview).

To experiment with a branch on your own, clone the repository, check out the branch, execute its set up script, start the local server, then visit http://localhost:3000:

bin/setup
bin/rails server
open http://localhost:3000