-
Notifications
You must be signed in to change notification settings - Fork 21
Installation
#Installation Instructions
###Requirements This code has been designed and is tested to work on the following Operating Systems:
- Apple OS X 10.x
- Ubuntu Server 12.04 LTS
- Ubuntu Server 14.04.1 LTS
- Arch Linux
This code is not compatible with Windows.
##Prerequisite Software On Apple OS X, you need to install git, osxfuse, npm (+nodejs), pkg-config, build-essential and concurrencykit.
On Ubuntu Server, you need to make sure the following packages are installed:
- git
- pkg-config
- build-essential
- fuse
- libfuse-dev
You will also need to install nodejs (tested with v5.0.0) on your system. The preferred installation method is to use Node Version Manager (nvm) found here: https://github.com/creationix/nvm
For other 'flavors' of Linux, you may need to install additional packages or make other configuration changes. If you find yourself in this situation and have solved any issues, please share your findings.
If you have a working set of instructions for other environments, please contact the author.
##NodeJS:
git clone https://github.com/thejinx0r/node-gdrive-fuse.git
cd node-gdrive-fuse
npm install
- cd src
- (optional) copy the config.json.sample to config.json and edit it as required. more information
-
node client.es6.js
(1st time only) - On first load, you will be presented with a link to a google authentication page
- Visit this link and follow the steps to authenticate your account to allow GDriveFS to access your files.
- Copy the access code as indicated by the pop up window and paste it in the terminal. Press enter and it should say "Access Token Set".
- On first load:
echo -e "\nuser_allow_other\n" >> /etc/fuse.conf
node fs.es6.js
##Unmounting To unmount:
On OSX, diskutil unmount YOUR_PATH
On linux, fusermount -u YOUR_PATH