forked from ziahamza/webui-aria2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update README & Add contributor's guide
- Loading branch information
1 parent
fa8af23
commit 54c56d5
Showing
2 changed files
with
62 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
## Contributor's Guide | ||
|
||
First off, thanks for taking the time to contribute! :tada::+1: | ||
|
||
WebUI-Aria2 is an Angular JS 1.x application bundled with webpack. Follow the [Get Started Guide](#get-started) to setup the development environment. You'll need `Node > 6` and latest version of `npm` to build the source files. | ||
|
||
## Get Started | ||
|
||
To start developing an awesome feature or to fix a bug [fork and clone the repo](https://help.github.com/articles/fork-a-repo/) and then install Node.js > 6 and npm. | ||
|
||
Next, install this package's dependencies with npm using `npm install` command. | ||
|
||
Then run `npm run dev` command to start an HTTP development server on http://localhost:8888 and to watch and compile the source files. | ||
|
||
Use `npm run build` to create a production ready build from source files. | ||
|
||
### Useful commands | ||
|
||
| Command | Purpose | | ||
| ------------------------- | --------------------------------------------------------------------------------------------------------- | | ||
| `npm install` | will install required dependencies | | ||
| `npm run dev` | will start an HTTP dev server on http://localhost:8888 and will watch and compile the source files | | ||
| `npm run build` | will create a production build from source files | | ||
| `npm run analyze` | will open a bundle analyzer on port http://localhost:9999. Useful for visualizing contents of your bundle | | ||
| `npm run format --silent` | will format your code for consistency using Prettier | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters