You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ By Justin Gordon and the Shaka Code Team, [www.shakacode.com](http://www.shakaco
18
18
- Check out the [react_on_rails gem](https://github.com/shakacode/react_on_rails) for easy webpack integration.
19
19
- If you came to here from the blog article, this example project has evolved. See [merged pull requests](https://github.com/shakacode/react-webpack-rails-tutorial/pulls?utf8=%E2%9C%93&q=is%3Apr+is%3Amerged) and the [CHANGELOG.md](./CHANGELOG.md).
20
20
21
-
An outdated full tutorial article behind of the motivation of this system can be found at: [Fast Rich Client Rails Development With Webpack and the ES6 Transpiler](http://www.railsonmaui.com/blog/2014/10/03/integrating-webpack-and-the-es6-transpiler-into-an-existing-rails-project/). Note, this source code repository is way ahead of the tutorial.
21
+
An outdated full tutorial article behind of the motivation of this system can be found at: [Fast Rich Client Rails Development With Webpack and the ES6 Transpiler](http://www.railsonmaui.com/blog/2014/10/03/integrating-webpack-and-the-es6-transpiler-into-an-existing-rails-project/). Note, this source code repository is way ahead of the tutorial.
22
22
23
23
# NEWS
24
24
We have not yet updated the `react_on_rails` gem generators for the following tasks. We're looking for help to migrate this, if you're interested in contributing to the project. *The tutorial* refers to this repo. The following changes have resulted in lots of differences for the webpack files and visual assets:
@@ -78,10 +78,10 @@ See package.json and Gemfile for versions
78
78
1.`rake db:setup`
79
79
1.`foreman start -f Procfile.hot`
80
80
1. Open a browser tab to http://localhost:3000 for the Rails app example with HOT RELOADING
81
-
2. Try Hot Reloading steps below!
81
+
2. Try Hot Reloading steps below!
82
82
1.`foreman start -f Procfile.express`
83
83
1. Open a browser tab to http://localhost:4000 for the Hot Module Replacement Example just using an express server (no Rails involved). This is good for fast prototyping of React components. However, this setup is not as useful now that we have hot reloading working for Rails!
84
-
2. Try Hot Reloading steps below!
84
+
2. Try Hot Reloading steps below!
85
85
1.`foreman start -f Procfile.static`
86
86
1. Open a browser tab to http://localhost:3000 for the Rails app example.
87
87
2. When you make changes, you have to refresh the browser page.
@@ -95,7 +95,7 @@ See package.json and Gemfile for versions
95
95
1. Run all linters and tests: `rake`
96
96
1. See all npm commands: `npm run`
97
97
1. Start all development processes: `foreman start -f Procfile.dev`
98
-
1. Start all Rails only development processes: `foreman start -f Procfile.rails`
98
+
1. Start all Rails only development processes: `foreman start -f Procfile.hot`
99
99
1. Start development without Rails, using the Webpack Dev Server only: `npm start` (or `foreman start -f Procfile.express`)
0 commit comments