title | sidebar_position |
---|---|
Environment setup |
0 |
This article explains how to set up development environment for developing Datagrok packages.
NOTE: To avoid permission issues when installing packages globally via -g
, use a version manager to install
both Node.js
and npm
following
the instructions
.
NOTE: On macOS and Unix systems, you may also need to use sudo
at the beginning of the installation command and
enter the root password if prompted.
- Install Node.js
- Install npm
- Install webpack
- Install datagrok-tools
NOTE: The Node.js
version from Snap
can produce issues with the datagrok tools installation.
We recommend to avoid using Snap and follow installation instructions provided above.
-
Retrieve your developer key by opening your user profile, clicking on
Developer key
and copying it to the clipboard -
Configure your environment with the following command:
grok config
Enter developer keys and set the default server. Your credentials will be stored locally in
config.yaml
. Once created, this file will be used for publishing all your packages. Administrators can manage existing keys and grant or revoke privileges.
Now you are ready to create your first package.
See also: