The Wayback Machine - https://web.archive.org/web/20220206031810/https://github.com/thoughtbot/hotwire-example-template
Skip to content
main
Switch branches/tags
Code

Latest commit

Declare an [app.json][] file to define some values for [deploying
straight to Heroku][deploy-button]!

Any any point while reading through an example, it might be helpful to
experiment with the features being outlined. By [utilizing the app.json
file][utilizing-app-json], readers can deploy the template application
straight to an environment of their own!

In order to deploy to Heroku's linux-based servers, this commit also
includes changes to the `Gemfile.lock` file generated by executing:

```
bundle lock --add-platform x86_64-linux
```

[utilizing-app-json]: https://blog.heroku.com/introducing_the_app_json_application_manifest
[app.json]: https://devcenter.heroku.com/articles/app-json-schema
[deploy-button]: https://devcenter.heroku.com/articles/heroku-button#using-a-custom-git-branch
240800a

Git stats

Files

Permalink
Failed to load latest commit information.

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

About

No description, website, or topics provided.

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published