Skip to content

Latest commit

 

History

History
102 lines (70 loc) · 2.43 KB

README.md

File metadata and controls

102 lines (70 loc) · 2.43 KB

Sync your files and folders simply

ODrive

Clone and run for a quick way to see ODrive (OpenSource Drive) in action.

This is a GUI client for Google Drive on linux application based on the https://electron.atom.io/.

Supported Operating Systems

  • Linux (most distros)
  • macOS 10.9 and later
  • Microsoft Windows 7 and later

To Use

To clone and run this repository you'll need Git and Node.js (which comes with npm) installed on your computer.

The first thing you need is the source code, in your command line:

# Clone this repository
git clone https://github.com/liberodark/ODrive

This will download all the source code in a "ODrive" folder in the current directory. Alternatively, you can download and extract the zip from github's interface.

The steps below (Setup, Build, Run) are to execute in order to ready everything.

Setup

This step is only needed once, in order to install the necessary environment on your computer for ODrive to run.

sudo npm install -g electron webpack eslint

Note: If you're using Linux Bash for Windows, see this guide or use node from the command prompt.

Build

This step is to execute every new version of the source code.

In the project directory:

npm install
webpack

Run

In the project directory:

npm start

On Windows, you can make a .bat file with start cmd /k nmp start that then you can double click to launch the program.

Testing

To make sure the code is ok and run some sanity checks on it:

npm test

Make Executable

To make a build for your OS:

for use in npm scripts

npm install electron-packager --save-dev

for use from cli

sudo npm install electron-packager -g

For Linux :

electron-packager . --overwrite --platform=linux --arch=x64 --prune=true --out=release-builds

For Mac :

electron-packager . --overwrite --platform=darwin --arch=x64 --prune=true --out=release-builds

For Windows :

electron-packager . --overwrite --platform=win32 --arch=x64 --prune=true --out=release-builds

License

GPL v3