dolibarr/dev/examples/zapier
2020-10-25 09:22:51 +01:00
..
creates
resources
searches
test
triggers
.editorconfig add zapier readme 2020-10-25 09:22:51 +01:00
.gitignore add zapier readme 2020-10-25 09:22:51 +01:00
.travis.yml
action.json
authentication.js
index.js
package.json add zapier readme 2020-10-25 09:22:51 +01:00
README.md add zapier readme 2020-10-25 09:22:51 +01:00

HOW TO BUILD

DEVELOPPER ACCOUNT

At first, you need to have a Zapier developper acoount, create it here Zapier Platform

BUILD INTEGRATION

Install Node.js

An easy option to get set up with Node.js is to visit https://nodejs.org/en/download/ and download the official installer for your OS. If you're installing with a package manager it's even easier.

After installation, confirm that Node.js is ready to use: node --version

Install the Zapier CLI

Next let's install the Zapier CLI tools. The CLI will allow you to build your app, deploy it to the Zapier platform, do local testing, manage users and testers, view remote logs, collaborate with your team, and more:

cd /dev/exemples/zapier

npm install -g zapier-platform-cli to install the CLI globally

zapier --version to return version of the CLI

Run Zapier Login

Let's configure authentication between your dev environment and the Zapier platform. You'll use the email address and password you use to log in to the Zapier application.

zapier --version

This command will set up a .zapierrc file in your home directory.

Install the Project

In zapier exemple directory, run:

npm install

Deploying your App

Let's deploy it! When you're ready to try your code out on the Zapier platform use the push command. Only you will be able to see the app until you invite testers.

zapier push

More info

You will find original tutorial here : https://zapier.com/developer/start/introduction