You need to configure some environment variables so that the SDK can properly authenticate against the Extra Horizon cloud.
Edit .env.example
, fill in all the environment variables there and save the file to .env
.
Typically a task runs in the context of the backend. However, you can test the task locally by invoking it through invoke.js
(or use yarn start
).
This allows you to do some local testing.
To build the project
npm run build
or yarn build
npm run start
or yarn start
npm run test
or yarn test