https://github.com/tjmw/rails-elm-webpacker-example
Rails 5.1 Example App with Webpacker and Elm running on Heroku
https://github.com/tjmw/rails-elm-webpacker-example
elm elm-lang rails rails5 webpack webpack3 webpacker
Last synced: about 1 year ago
JSON representation
Rails 5.1 Example App with Webpacker and Elm running on Heroku
- Host: GitHub
- URL: https://github.com/tjmw/rails-elm-webpacker-example
- Owner: tjmw
- Created: 2017-09-15T11:52:47.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-29T10:10:11.000Z (over 8 years ago)
- Last Synced: 2025-04-23T19:25:55.967Z (about 1 year ago)
- Topics: elm, elm-lang, rails, rails5, webpack, webpack3, webpacker
- Language: Ruby
- Homepage: https://nameless-reef-54787.herokuapp.com
- Size: 80.1 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Rails 5.1 Example App with Webpacker and Elm running on Heroku
## What is this?
This is an example [Rails] 5.1 app with [Elm] on the front-end handled by
[Webpacker], running on [Heroku].
[Rails]: http://rubyonrails.org
[Elm]: http://elm-lang.org/
[Webpacker]: https://github.com/rails/webpacker
[Heroku]: https://www.heroku.com/
## Deploying to Heroku
To deploy to Heroku, create a Heroku app, configure the buildpacks and push:
```
$ heroku git:remote -a
$ heroku buildpacks:add heroku/nodejs
$ heroku buildpacks:add heroku/ruby
$ git push heroku master
```
## Running Locally
```
$ bundle
$ yarn install
$ foreman start
```
Now you can visit [`localhost:5000`](http://localhost:5000) from your browser.