Thank you for considering contributing to Prodkt 🎉
To contribute to this project, follow these steps:
- Fork this repository and clone it to your local machine.
- Create a new branch for your contribution:
git checkout -b BRANCHNAME
- Add your changes to the staging area:
git add [path of files]
- Commit your changes:
git commit -m 'Add new feature'
- Push to the branch:
git push -u origin BRANCHNAME
- Submit a pull request.
bun: ">=1.1.12"
Prodkt uses bun workspaces, so you should always run bun install
from the top-level project directory. Running bun install
in the top-level project root will install dependencies for Prodkt
, and every package in the repo.
git clone && cd ...
bun install
bun turbo build
Checkout the .env.example
file inside the apps/web
directory for the environment variables you need to get the project running. You should create an UploadThing and Neon DB accounts and copy the environment variables from their dashboard to a .env.local
file in apps/web
.
You will also need to create a GitHub Oauth token as well as for Google authentication as well.
To get started, create a codespace for this repository by clicking this 👇
Your new codespace will open in a web-based version of Visual Studio Code. All development dependencies will be preinstalled, and the tests will run automatically ensuring you've got a green base from which to start working.
# Dev
bun turbo dev
# Build
bun turbo build
# Typecheck
bun turbo typecheck
# Lint
bun turbo lint
# Storybook
bun turbo storybook
# Start apps in production mode
bun turbo start
If you're familiar with turborepo / bun workspaces, running stuff around this repo will be easy to figure out.
# auto-format the entire project
bun run format
# lint the project
bun run lint
Please follow the existing code style and conventions used in the project.
If you encounter any issues with the project or have suggestions for improvements, please open an issue on the GitHub repository.
By contributing to this project, you agree that your contributions will be licensed under the LICENSE.
If you have any suggestions or concerns, consider opening a new issue.