Skip to content

Latest commit

 

History

History
85 lines (56 loc) · 3.54 KB

CONTRIBUTING.md

File metadata and controls

85 lines (56 loc) · 3.54 KB

Contributing

Hello! Thank you for taking the time to learn how to make a contribution to Octo!

These guidelines ensure the maintainers and contributors are working together respectfully on all projects related to Octo. The maintainers have a limited amount of time to devote to this project, so we ask contributors to be considerate. In return, the maintainers will reciprocate that respect and will consider, discuss, and support all acceptable contributions as appropriately identified in this document.

Contributions

Octo is an Open Source project, and we love support from our community!

To help you out, we will list some examples of acceptable and unacceptable contributions so that you do not waste the valuable time or effort of yourself or our maintainers.

Is this your first time contributing to Open Source?

Here are a few resources to learn more about the process!

Acceptable Contributions

Unacceptable Contributions

  • Do not open an Issue for support questions.
  • Do not submit a Pull Request for an undocumented feature idea. All feature ideas should start as a Discussion to ensure we have the chance to properly vet the idea.
  • Do not submit a Pull Request purely for code quality (linting, refactoring, reorganizing, etc).
  • Do not comment on an Issue, Discussion, or Pull Request to engage in arguments or promote harassment. See our Code of Conduct.
  • Do not disclose security vulnerabilities in public. Please email hello@davidmyers.dev instead.

Set up the local dev environment

Install the dependencies.

pnpm install --shamefully-hoist

Copy .env.example to .env.

cp .env.example .env

Launch the app

Run the app in development mode.

# binds to 127.0.0.1:8888
pnpm dev

Launch the Firebase Emulator

The emulator is not necessary for most changes. For more information about retrieving a Firebase access token, see the docker-firebase-tools project.

docker-compose up -d

The Firebase Emulator dashboard is available at localhost:32777.

Build the production app

# compiles to ./dist
pnpm build

The build output will be available in the .output directory.

Run the production preview

# binds to 127.0.0.1:8889
pnpm preview