@konomi-app/k2
v1.7.7
Published
kintone sdk
Downloads
161
Readme
k2 - 🍳 kintone kitchen 🍳
kintone SDK for Node.js
🥦 Installation
npm install @konomi-app/k2
🥚 Requirements
mkcert
K2 uses mkcert
to generate a self-signed certificate for local development. You can install it by following the instructions here.
# Windows
choco install mkcert
# macOS
brew install mkcert
If you are using Windows, you may need to install Chocolatey
first. You can find the instructions here.
🥕 Usage (kintone Customization)
1. Initialize
npx k2 init
This command will create a .k2
directory in your project root. This directory contains the configuration files for K2.
2. Local Development
npx k2 dev
By executing the above command, a local server will be launched on the port number specified in the configuration file. By setting the URL of the local server to the app implementing kintone customization, you can develop in a local environment.
3. Build
npx k2 build
🥬 Usage (kintone Plugin)
1. Initialize
npx plugin init
This command will create a .plugin
directory in your project root. This directory contains the configuration files for the plugin.
2. Local Development
npx plugin dev
By executing the above command, a local server will be launched on the port number specified in the configuration file. By setting the URL of the local server to the app implementing kintone plugin, you can develop in a local environment.