To get a local copy up and running, please follow these simple steps.
Here is what you need to run march.
- Node.js (Version: >=18.x)
- pnpm (recommended)
- Clone the repo into a public GitHub repository
https://github.com/marchhq/march.git
- Switch to the project folder
cd march
- Create your feature or fix branch you plan to work on using
git checkout -b <feature-branch-name>
- Install packages with pnpm
pnpm 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)
pnpm 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.