This project is for NYIT Senior Project I. RDM is a download manager that can download internet content such as files, BTs, or other URL requests.
-
In
package.json
, change"rdm-server": "set ELECTRON_START_URL=http://localhost:3000 && electron .",
to
"rdm-server": "export ELECTRON_START_URL=http://localhost:3000 && electron .",
-
Delete
package-lock.json
file. -
Run command
npm install
. -
Run command
npm i concurrently
to download concurrently.
-
In
package.json
, change"rdm-server": "export ELECTRON_START_URL=http://localhost:3000 && electron .",
to
"rdm-server": "set ELECTRON_START_URL=http://localhost:3000 && electron .",
-
Delete
package-lock.json
file. -
Run command
npm install
. -
Run command
npm i concurrently
to download concurrently.
Windows can't reconize "set", and MacOS can't reconize "export", when upload to the repo, make sure it stays set
to avoid conflicts!
Use command: npx electron .
to start program.
Everytime you made changes, use npm run build
to build the program. Then npx electron .
.
P.s. This is a tempaory solution... Which not actually in debug mode. Will update this ReadMe when this got fixed.
Not for now:
First, use npm start
Then, run npm run rdm-server
in another terminal.
This will show the desktop version created by Electron.
- Make sure add package-lock.json into your gitignore file!
This part is not available for now.