- Download and install Git to manage and retrieve the code. The default installation settings are fine.
- Clone the Solid Backup code repository.
- From the Start Menu, open Command Prompt (or Git Bash if prefer the GNU/Linux-style shell).
- Navigate to the folder where you want to save the code on your computer. For example,
cd C:\Users\<username>\Documents\Code
- Type:
git clone https://github.com/dbolton/SolidBackup.git
(This creates a folder named "SolidBackup" that contains the entire repository.) (Alternatively, you can use the Git GUI to clone the Solid Backup repository.)
- Download and install Node.JS.
- Download and install Yarn.
- Solid Backup uses Electron for UI and several related Node.JS modules. You can install all these dependencies at once.
- Open Command Prompt.
- Navigate to your Solid Backup folder (your clone of the Solid Backup repository). For example,
cd C:\Users\<username>\Documents\Code\SolidBackup
- Install dependencies. Type:
yarn install
- Open a new Command Prompt with administrative permissions. (From the Start Menu, right click on Command Prompt and choose Run as administrator. You can also modify shortcuts of Command Prompt by opening it's properties and ticking "Run as Administrator" under "Compatibility"). Solid Backup needs administrative permission to access any file on the system, create a shadow volume, and schedule tasks.
- Navigate to your Solid Backup folder. For example,
cd C:\Users\<username>\Documents\Code\SolidBackup
- Start Solid Backup by typing:
yarn start
(for normal mode) oryarn dev
(for developer mode).
Normal mode matches what end users see when they run the application. Developer mode opens the Developer Tools pane and maximizes the window. For convenience, you can consolidate all three steps above and just double click Run dev mode.bat. (You can execute it in BASH by typing "./Run\ dev\ mode.bat").
See "https://electronjs.org/docs/tutorial/application-distribution" and "https://github.com/electron-userland/electron-builder/"
- Open Command Prompt.
- Navigate to the Solid Backup directory.
- Create the installer by typing:
yarn dist
Note: If your anti-virus program repeatedly tries to delete the final installer, try running yarn dist
from command prompt without administrative permission.
- Open Command Prompt.
- Navigate to the Solid Backup directory.
- Create the installer by typing:
yarn add [package name]
See package.json for a list of dependencies.