Setup#

Follow the below steps to set up autorun:

  1. Clone this repo: git clone https://github.com/chrismathew05/autorun.git

  2. Create a Google Cloud Project on GCP.

  3. Enable the Google Drive API on your project.

  4. Create Credentials > OAuth Client Id > Desktop App. You will be asked to configure an OAuth consent screen first.

  5. Download credentials JSON file and rename to credentials.json. Drag into the auth folder.

  6. Run the build script to set up the project:
    • Linux: ./build.sh. You will have to grant permission first (chmod +x build.sh)

    • Windows: TODO

  7. Configure the newly created config.json with the desired Input and Output folder ids from GDrive.

  8. To ensure proper file conversions, you should uncheck automatic file conversion in your GDrive settings.