- Contributions of all kinds (issues, ideas, proposals), not just code, are highly appreciated.
- Pull requests are welcome with the understanding that major changes will be carefully evaluated and discussed, and may not always be accepted. Starting with a discussion is always best!
- All contributions including documentation, filenames and discussions should be written in English language.
Our issue tracker can be used to report issues and propose changes to the current or next version of the data.world Web Data Connector.
Install:
- NodeJS
- npm
- node-google-apps-script
Fork the project on Github and check out your copy.
git clone https://github.com/[YOUR_GITHUB_NAME]/data-studio-connector.git
cd tableau-connector
git remote add upstream https://github.com/datadotworld/data-studio-connector.git
This project's setup is inspired by ideas in this blog post: https://developers.googleblog.com/2015/12/advanced-development-process-with-apps.html
Most importantly, unlike traditional Google Apps Script projects your local file set is the master. That also means that code is managed in Git and deployed and "deployed" to Google Apps Script using node-google-apps-script.
HELP WANTED
There is much to do in the way of adopting some best practices described in the same article, namely:
- Use specific configuration values for “local” development.
- Build test methods that can run standalone.
- Include dependencies for development and testing.
Also, automation with CircleCI is highly desired.
To run the connector:
- Install and configure
node-google-apps-script
- Setup your own Google Apps Script project to be used for development
- Modify
gapps.config.json
and changefileId
to be that of your project file - Run
gapps
upload
Using the Google Apps Script Editor:
- Make sure that View > Show manifest file is enabled
- Review
appsscript.json
file (Project Manifest) manually; update manually if needed - Go to Publish > Deploy as > Custom from manifest
For additional instructions related to initial deployment, see https://developers.google.com/datastudio/connector/versioning#initialdeplyoment
Script Properties
Two script properties are required in the Google Apps Script project for the connector to work:
oauthClientId
: data.world OAuth client idoauthClientSecret
: data.world OAuth client secret
Script properties can be saved via the script editor user interface by going to File > Project properties and selecting the Script properties tab.
The steps to test data studio connector after code changes are added in following document.
Try to write a test that reproduces the problem you're trying to fix or describes a feature that you want to build.
We definitely appreciate pull requests that highlight or reproduce a problem, even without a fix.
Implement your feature or bug fix. Make sure that all tests pass.
Document any external behavior in the README.
Make sure git knows your name and email address:
git config --global user.name "Your Name"
git config --global user.email "contributor@example.com"
Writing good commit logs is important. A commit log should describe what changed and why.
git add ...
git commit
git push origin my-feature-branch
Go to https://github.com/[YOUR_GITHUB_NAME]/data-studio-connector and select your feature branch. Click the 'Pull Request' button and fill out the form. Pull requests are usually reviewed within a few days.
Thank you in advance, for contributing to this project!