.env
file in ./nango-integrations
:
prod
and dev
secret keys from the Project Settings tab (toggle between the prod
and dev
environment in the left nav bar).
NANGO_HOSTPORT
env variable to http://localhost:3003
(for local development) or your instance’s URL.Command | Description | Details |
---|---|---|
nango init | Creates the nango-integrations directory with a demo Github integration. | Generates models.ts , but not the compiled .js files. |
nango dev | Necessary to edit sync configurations and scripts. | Watches the nango.yaml and sync scripts, re-generates models.ts and compiled .js files. |
nango generate | Generates an sync script .ts file with initial scaffold when new syncs appear in your nango.yaml . | Re-generates models.ts , not the compiled .js files. |
nango dryrun <params> | Lets you test sync scripts locally. | |
nango deploy <env> | Lets you deploy your sync to your dev or prod environment | Generates the compiled .js files. |