To install the packages that will allow you to modify RAWRR or, in the other case, to build the executable, please follow these steps:
-
Select the base directory in which you want to download RAWRR.
# Modify the working directory cd path/to/working/directory
Optional
If you need to create the directory you can easily run mkdir path/to/working/directory
-
Clone our RAWRR repository.
# Cloning base repository git clone https://github.com/ConexoLA/RAWRR.git
-
Install dependencies
Depending on the usage you want to give to RAWRR, you may modify the code using the hot-reload functionality or generate the executable by building the project.
In both cases, you must install all the packages available in package.json
.
# install packages from package.json
npm install
Sometimes, security vulnerabilities are found and updates are available. Below, we show an example:
In most cases, we encourage the user to run the comman npm audit fix
The usual output of this command is as follows:
fixed X of Y vulnerabilities in Z scanned packages
Y-X vulnerabilities required manual review and could not be updated
Where:
- X is the number of vulnerabilties solved.
- Y was the total number of vulnerabilities to be solved.
- Z is the number of packages that were scanned
- Y-X is the number of vulnerabilities that should be solved manually.
Information
At this point you could:
- Modify RAWRR in the case you want to add new functionalities or extend RAWRR. Once you finish your changes, go to step 2.
- Generate the executable of RAWRR.
If you want to modify RAWRR using the hot reaload option from electron, you can use the following command:
npm run electron:serve
This command, will start a development server to test your application (as you can see in the image below).
After the server is launched, you will realize the application is being tested in development mode because the usual tools for developers are activated:
If you want to generate the executable of RAWRR, use the following command:
npm run electron:build
npm run test
npm run lint
You can submit your feedback via email at [email protected].