-
Notifications
You must be signed in to change notification settings - Fork 1
Deployment
Juan Gabriel Griggio edited this page May 30, 2024
·
5 revisions
- Clone the repository to your local machine (if you haven't already)
- For that, you need to have Git installed in your machine and run the following command in a terminal:
git clone https://github.com/google-marketing-solutions/topic-mine
- Set up
config.json
file (if you haven't already) - Run the
deploy.sh
script:- Open a terminal
- Navigate using the
cd
command to the root folder of the project. - Check that you are in the right folder with the command
ls
. It should show a list of files and directories, and one of them should bedeploy.sh
- Grant execution permission to the script with the following command:
chmod +x your_script.sh
- Run the deploy script with the following command:
./deploy.sh
- Share the spreadsheet(s) that are going to be used with the newly-created service account with edit permission. That service account is the one specified in the
config.json
file, and its full address can be retrieved fromGoogle Cloud Platform
->IAM & Admin
- >Service Accounts
- Home
- Project setup
- API Reference
-
Content endpoint
- Query params
-
Body params
- First term source config
- Second term source config
- Output config
- Request examples
- Response examples
- Tasks endpoint
-
Content endpoint