Skip to content

Latest commit

 

History

History
76 lines (48 loc) · 2.3 KB

CONTRIBUTING.md

File metadata and controls

76 lines (48 loc) · 2.3 KB

Contributing to Hashdocs

Based on the calcom contribution guide

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  • Before jumping into a PR be sure to search existing PRs or issues for an open or closed item that relates to your submission.

Developing

The development branch is main. This is the branch that all pull requests should be made against.

To develop locally:

  1. Fork this repository to your own GitHub account and then clone it to your local device.

  2. Create a new branch:

    git checkout -b MY_BRANCH_NAME
  3. Install yarn:

    npm install -g yarn
  4. Install the dependencies with:

    yarn
  5. Setup a local development environment for supabase

    • Follow the steps here to set up a local supabase instance

    Preqrequisites:

    • Docker Desktop
    • Supabase CLI
  6. Set up your .env file:

    • Duplicate .env.example to .env.
    • Enter your supabase credentials in the .env file.
  7. Start developing and watch for code changes:

    yarn dev

    This will start a local server at http://localhost:3000 and watch for changes in the code. The server will automatically reload when changes are made.

Building

You can build the project with:

yarn build

Please be sure that you can make a full production build before pushing code.

Testing

More info on how to add new tests coming soon.

Making a Pull Request