Getting Started
Prerequisites
You need the following services to run Unkey:
We're currently working on making this optional.
- Clerk: Authentication
You also need the following tools installed.
Developing Unkey
Setup local development
Unkey provides a CLI to setup our local development environment. Run the following command in your terminal:
Docker must be running for us to spin up the databases and supporting services.
You will be prompted to enter the following values:
CLERK_SECRET_KEY
: Your Clerk secret key.NEXT_PUBLIC_CLERK_PUBLIC_KEY
: Your Clerk public key.
We will create the required .env
files depending on the selection you've made.
About pnpm local command
If you have already set up Unkey locally once and wish to bypass the manual input questions the next time, you can do so by using flags with the pnpm local command.
List of available options:
-
--service=<service>
: Specifies which part of the application to develop. The values aredashboard
,api
, orwww
-
--skip-env
: Skips the environment setup prompt if specified.
Example:
Last updated on