Skip to content

Japerz12138/re-download-manager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RDM

Getting Started with RDM

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.

Before started

For Windows

  • 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.

For MacOS

  • 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.

Why?

Windows can't reconize "set", and MacOS can't reconize "export", when upload to the repo, make sure it stays set to avoid conflicts!

Start Re Download Manager Debug

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.

Commit to RDM

  • Make sure add package-lock.json into your gitignore file!

Build RDM

This part is not available for now.