Thank you for your interest in this project! Please contribute according to the following guidelines:
Please note we have a code of conduct, please follow it in all your interactions with the project.
Before setting up the development environment, we recommend reviewing our Repository Architecture documentation to understand how our packages are organized.
To set up a development environment, please follow these steps:
-
Clone the repo
git clone https://github.com/liam-hq/liam
-
Run the setup script
./scripts/setup-local-dev.sh
This script will:
- Install dependencies with pnpm
- Create .env file from template
- Start Supabase database
- Configure Supabase authentication keys
- Display next steps and test credentials
Alternatively, you can run the setup steps manually:
corepack enable corepack prepare pnpm install -
Set up environment variables
Copy the template environment file to create your local environment file:
cp .env.template .env
Required for basic local development:
- Supabase keys will be automatically configured when you start the database (see step 4)
For maintainers (Vercel team members only):
Link your local project to the Vercel project and pull environment variables:
pnpm vercel:link pnpm vercel:env-pull
Next, create a
.env.localfile at the root directory and set values for the following keys:OPENAI_API_KEY
-
Start the development server
pnpm dev
-
Open apps
package url @liam-hq/app http://localhost:3001 @liam-hq/cli http://localhost:5173 @liam-hq/docs http://localhost:3002 @liam-hq/storybook http://localhost:6006 Test login credentials:
- Login path: http://localhost:3001/app/login
- Email:
[email protected] - Password:
liampassword1234
You've found a bug in the source code, a mistake in the documentation or maybe you'd like a new feature? Take a look at GitHub Discussions to see if it's already being discussed. You can help us by submitting an issue on GitHub. Before you create an issue, make sure to search the issue archive -- your issue may have already been addressed!
GitHub API Errors in Console
If you see errors like [@octokit/auth-app] appId option is required, this is expected when GitHub environment variables are not configured. These errors don't affect core functionality - you can still use authentication, view projects, and access ER diagrams.
Login Page Redirects
If /app/login redirects unexpectedly:
- Ensure Supabase is running:
pnpm --filter @liam-hq/db supabase:status - Check that Supabase keys are configured in
.env - Restart the development server:
pnpm dev
Database Connection Issues If you encounter database connection problems:
- Stop Supabase:
pnpm --filter @liam-hq/db supabase:stop - Start Supabase:
pnpm --filter @liam-hq/db supabase:start - Re-run key extraction scripts:
./scripts/extract-supabase-anon-key.sh ./scripts/extract-supabase-service-key.sh
Missing Dependencies If you encounter missing dependency errors:
- Ensure you have the correct Node.js version (check
.nvmrc) - Clear node_modules and reinstall:
rm -rf node_modules && pnpm install - Enable corepack:
corepack enable && corepack prepare
Please try to create bug reports that are:
- Reproducible. Include steps to reproduce the problem.
- Specific. Include as much detail as possible: which version, what environment, etc.
- Unique. Do not duplicate existing opened issues.
- Scoped to a Single Bug. One bug per report.
Even better: Submit a pull request with a fix or new feature!
- Search our repository for open or closed Pull Requests that relate to your submission. You don't want to duplicate effort.
- Fork the project
- Create your feature branch (
git switch -c feat/amazing_feature) - See our Changeset Creation Guide
- Format your changes (
pnpm run fmt) - Commit your changes (
git commit -m 'feat: add amazing_feature') - Push to the branch (
git push origin feat/amazing_feature) - Open a Pull Request