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

Update README for when to run npm run build #1319

Merged
merged 1 commit into from Jul 20, 2017
Merged

Update README for when to run npm run build #1319

merged 1 commit into from Jul 20, 2017

Conversation

MaxLeiter
Copy link
Member

@MaxLeiter MaxLeiter commented Jul 10, 2017

No description provided.

README.md Outdated
@@ -61,10 +61,11 @@ your own risk. It is also not recommended to run this as root.
## Development setup

Simply follow the instructions to run The Lounge from source above, on your own
fork.
fork. Be sure to check out `package.json` for available npm scripts that may help or be necessary for your changes.
Copy link
Member

Choose a reason for hiding this comment

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

I don't think this is really necessary. Any specific use case why you added it?


Before submitting any change, make sure to:

- Read the [Contributing instructions](https://github.com/thelounge/lounge/blob/master/CONTRIBUTING.md#contributing)
- Run `npm test` to execute linters and test suite
- Run `npm run build` if you change or add anything in `client/js/libs` or `client/views`
- Run `npm run build` if you change or add anything in `client/js` or `client/views`
Copy link
Member

Choose a reason for hiding this comment

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

Good catch!

README.md Outdated

Before submitting any change, make sure to:

- Read the [Contributing instructions](https://github.com/thelounge/lounge/blob/master/CONTRIBUTING.md#contributing)
- Run `npm test` to execute linters and test suite
- Run `npm run build` if you change or add anything in `client/js/libs` or `client/views`
- Run `npm run build` if you change or add anything in `client/js` or `client/views`
- Run `npm run start-dev` to start an instance that will watch for changes and rebuild automatically
Copy link
Member

Choose a reason for hiding this comment

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

Well, to be fair, this is in the list for "Before submitting any change, make sure to:", so I either don't think we need it, or that this is the right section to add this.

Maybe this section should only contain reading the CONTRIBUTING file + running tests, and then another section (before or after) to help development where you mention npm run build, npm run watch, npm run start-dev and npm run start would be more appropriate.

need to `npm run build` a lot more since webpack was added
@MaxLeiter MaxLeiter changed the title Update READMEs direction on when to npm run build Update README for when to run npm run build Jul 20, 2017
@MaxLeiter
Copy link
Member Author

Simplified a lot, now only fixes the mistake.

@astorije astorije added the Type: Documentation Lack of documentation, improvement suggestion, or PRs that address these. label Jul 20, 2017
@astorije astorije added this to the 2.4.0 milestone Jul 20, 2017
@AlMcKinlay AlMcKinlay merged commit d839a9e into thelounge:master Jul 20, 2017
@MaxLeiter MaxLeiter deleted the patch-1 branch July 20, 2017 13:47
matburnham pushed a commit to matburnham/lounge that referenced this pull request Sep 6, 2017
Update README for when to run `npm run build`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Documentation Lack of documentation, improvement suggestion, or PRs that address these.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants