Sync your files and folders simply
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/.
- Linux (most distros)
- macOS 10.9 and later
- Microsoft Windows 7 and later
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.
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.
This step is to execute every new version of the source code.
In the project directory:
npm install
webpack
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.
To make sure the code is ok and run some sanity checks on it:
npm test
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