Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Helpful Message After Generator Install #210

Merged
merged 1 commit into from
Jan 19, 2016

Conversation

aaronvb
Copy link
Member

@aaronvb aaronvb commented Jan 18, 2016

  • Added a helpful message after base generator install.
  • Added a helpful message after react with redux generator install.
  • Added tests for both messages.

rails generate react_on_rails:install

screen shot 2016-01-14 at 1 35 21 pm

rails generate react_on_rails:install -R

screen shot 2016-01-14 at 1 37 04 pm

Resloves #184

Review on Reviewable

@justin808
Copy link
Member

@aaronvb This looks awesome. Could you change "node-server-hot" to "express-server". I think that's a better name for the webpack dev server.

@alexfedoseev @robwise Agree?

Since there's no "cold", non-hot-reloading version of express, I think just npm run express-server is better. Or maybe npm run wds for "webpack dev server"?

@alex35mil
Copy link
Member

npm run express-server 👍

@@ -10,7 +10,7 @@
"scripts": {
"postinstall": "cd client && npm install",
"test": "rspec && (cd client && npm run lint)",
"node-server-hot": "echo 'visit http://localhost:4000' && cd client && npm start",
"express-server": "echo 'visit http://localhost:4000' && cd client && npm start",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated the npm run command node-server-hot to express-server.

@aaronvb
Copy link
Member Author

aaronvb commented Jan 18, 2016

The updated helpful message with npm run express-server

screen shot 2016-01-17 at 9 59 15 pm

- Added a helpful message after base generator install.
- Added a helpful message after react with redux generator install.
- Added tests for both messages.
- Change 'npm run node-server-hot' to 'npm run express-server'
@justin808
Copy link
Member

Thanks @aaronvb. Is this ready for merge and a dot release?

@aaronvb
Copy link
Member Author

aaronvb commented Jan 18, 2016

@justin808 I just pushed an edit to the docs/tutorial-v2.md to reflect the npm run express-server change. Once the CI passes it will be good to go.

justin808 added a commit that referenced this pull request Jan 19, 2016
Helpful Message After Generator Install
@justin808 justin808 merged commit 4768113 into shakacode:master Jan 19, 2016
aaronvb added a commit to aaronvb/react_on_rails that referenced this pull request Feb 5, 2016
- Change text node-server-hot to express-server. 
  This was changed in shakacode#210
- Fix indentation.
@aaronvb aaronvb mentioned this pull request Feb 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants