-
Notifications
You must be signed in to change notification settings - Fork 473
Creating client_secrets.json and oauth2service.json
I am going to write here what i have done. I am a newbie on Debian :)
Step 1. 'apt install python2.7'
Step 2. 'sudo apt install python-wxgtk3.0'
Step 3. 'sudo apt install python-pip'
Step 4. 'pip install GoSync'
Step 5. 'apt-get install libyaml-dev libpython2.7-dev' <-- I had to install these
Step 6. 'sudo apt install libcanberra-gtk-module libcanberra-gtk3-module'
Step 7. 'python setup.py install'
Step 8. 'mkdir GoogleDrive'
Step 9. 'cd GoogleDrive'
Step 10. navigate to https://console.developers.google.com/apis/credentials hit 'Create credentials' and then 'OAuth client ID' (create one) and then navigate to it in the menu OAuth 2.0 client IDs. On the top you should see 'Download JSON'. Rename it to client_secrets.json and move it to the folder .gosync in your home directory.
Step 11. 'run GoSync in the GoogleDrive directory' (Chome or Chromium doesn't seem to work as default browser)
But from here i ran into GoSync failed to initialize. It is late maybe I continue this tomorrow (also formatting this here). But at least something is standing here.
It seems that python-wxgtk3.0 change a little bit (and i was unable to find the 2.8 version) I changed in:
/.local/lib/python2.7/site-packages/GoSync/GoSync.py:30: wxPyDeprecationWarning: Using deprecated class PySimpleApp. app = wx.PySimpleApp()
to:
/.local/lib/python2.7/site-packages/GoSync/GoSync.py:30: wxPyDeprecationWarning: Using deprecated class PySimpleApp. app = wx.App(False)
asoneuhtaoeruchc234**(HTHBXTFY&()(()&)(&%ŶITGEODONCDHCORLE)OÔE&%ÔE*%&O&OFDEOE
It would be nice if this page explained what's going on, since the GoSync app still sends people here, but evidently random typing was somehow considered to be a better choice.
Need more help? Ask on the GAM Discussion Group
GAM Basics
GAM Tutorials
- Managing Users, Groups, Aliases, Domains, Mobile and Chrome Devices, and Resource Calendars
- Group Settings
- Data Transfers
- Print Users, Groups, Aliases, Mobile and Chrome OS devices, OUs, Licenses and Reports
- Managing Custom User Schemas
- User Email Settings
- User Security Settings
- Managing Classroom
- Managing Devices
- Chrome Policy Settings
- Chrome Browser Management
- Calendar Settings
- Unmanaged Users and Invitations
- Google Drive Management
- Inbound SSO Settings
- Managing Admins
- Domain Verification
- Printers
- Managing Product Licenses
- Context Aware Access levels
- Managing Organizations
- OAuth Authentication Related Commands
- Vault / Takeout Commands
- Bulk Operations
GAM Command Reference
Resources
- Questions? Visit the GAM Discussion Forum
- How to run GAM on Chromebooks / Chrome OS and Android devices.
- Setting up GAM on Google Cloud Platform (GCP)
- Running GAM on Google Compute Engine (GCE) VMs Securly
- Using GAM with a Delegated Admin Service Account (DASA)
- Use a YubiKey for Service Account Authentication
- Verify a GAM Install is Official and Legimate