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
Conversation
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. |
There was a problem hiding this comment.
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` |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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
npm run build
npm run build
Simplified a lot, now only fixes the mistake. |
Update README for when to run `npm run build`
No description provided.