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
+13-1Lines changed: 13 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -68,7 +68,7 @@ See package.json and Gemfile for versions
68
68
1. Be sure that you have Node installed! We suggest [nvm](https://github.com/creationix/nvm), with node version `v5.0` or above. See this article [Updating and using nvm](http://forum.shakacode.com/t/updating-and-using-nvm/293).
1. Check that you're using the right version of node. Run `nvm list` to check. Use 5.5 or greater.
73
73
1. Check that you have Postgres installed. Run `which postgres` to check. Use 9.4 or greater.
74
74
1. Check that you have `qmake` installed. Run `which qmake` to check. If missing, follow these instructions: [Installing Qt and compiling capybara-webkit](https://github.com/thoughtbot/capybara-webkit/wiki/Installing-Qt-and-compiling-capybara-webkit)
@@ -86,6 +86,18 @@ See package.json and Gemfile for versions
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.
88
88
89
+
# Notes running in Windows
90
+
91
+
Due to foreman not support windows, running below command in 4 different cmd prompt.
92
+
93
+
```bat
94
+
npm run hot-assets
95
+
npm run build:dev:client
96
+
npm run build:dev:server
97
+
set REACT_ON_RAILS_ENV=HOT
98
+
rails s -b 0.0.0.0
99
+
```
100
+
89
101
## Hot Reloading Example: applies to both `Procfile.hot` and `Procfile.express`
90
102
1. With the browser open to any JSX file, such as [client/app/bundles/comments/components/CommentBox/CommentBox.jsx](client/app/bundles/comments/components/CommentBox/CommentBox.jsx) and you can change the JSX code, hit save, and you will see the screen update without refreshing the window. This applies to port 3000 and port 4000.
91
103
1. Try changing a `.scss` file, such as a color in [client/app/bundles/comments/components/CommentBox/CommentList/Comment/Comment.scss](client/app/bundles/comments/components/CommentBox/CommentList/Comment/Comment.scss). You can see port 3000 or 4000 update automatically.
0 commit comments