Module Zapier: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
Tag: 2017 source edit
mNo edit summary
Tag: 2017 source edit
Line 39: Line 39:


After installation, confirm that Node.js is ready to use:
After installation, confirm that Node.js is ready to use:
<syntaxHighlight>
<syntaxHighlight lang="bash">
node --version`
node --version`
</syntaxHighlight>
</syntaxHighlight>
Line 47: Line 47:
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:
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:


<syntaxHighlight>
<syntaxHighlight lang="bash">
cd dev/examples/zapier
cd dev/examples/zapier
npm install -g zapier-platform-cli
npm install -g zapier-platform-cli
Line 57: Line 57:
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.
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.


<syntaxHighlight>
<syntaxHighlight lang="bash">
zapier login
zapier login
</syntaxHighlight>
</syntaxHighlight>
Line 67: Line 67:
In zapier examples directory, run:
In zapier examples directory, run:


<syntaxHighlight>
<syntaxHighlight lang="bash">
cd dev/examples/zapier
cd dev/examples/zapier
npm install
npm install
Line 76: Line 76:
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.
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.


<syntaxHighlight>
<syntaxHighlight lang="bash">
zapier register  (the first time, choose name for example "My Dolibarr")
zapier register  (the first time, choose name for example "My Dolibarr")
zapier push
zapier push

Navigation menu