to get a local copy up and running, please follow these simple steps.
here is what you need to run emptyarray.
- node.js (version: >=18.x)
- bun (recommended)
- clone the repository with or without a shallow clone
git clone --depth=1 https://github.com/emptyarrayhq/emptyarray.git
- switch to the project folder
cd emptyarray
- create your feature or fix branch you plan to work on using
git checkout -b <feature-branch-name>
- install packages with bun
bun install
- set up your .env file
Go to the app/backend
and app/frontend
directories and duplicate the .env.example
to .env
.
- run (in development mode)
bun dev
to set up the Linear integration:
- sign up for a Linear account at https://linear.app if you haven't already.
- create a new Linear OAuth application in your Linear settings.
- fill in the following environment variables in your
.env
file:
LINEAR_REDIRECT_URL=http://localhost:3000/auth/linear
LINEAR_CLIENT_ID=<your_linear_client_id>
LINEAR_CLIENT_SECRET=<your_linear_client_secret>
Replace <your_linear_client_id>
and <your_linear_client_secret>
with the values provided by Linear for your OAuth application.