Warning: All contributions must be made through pull requests from your forked repository. Direct changes to the main repository will not be accepted.
Before you begin, ensure you have the following installed:
- Fork the repository
- Clone your forked repository
git clone https://github.com/YOUR_USERNAME/hukum.git cd hukum - Install dependencies
pnpm install
- Set up environment variables (see Environment Variables section)
- Create a new branch
git checkout -b branch_name
- Start the development server
pnpm dev
- Make your changes and test them at https://localhost:3000
- Commit your changes
git add . git commit -m "feat: add your feature description"
- Push to your fork
git push origin branch_name
- Create a Pull Request from your fork to our main repository
- Don't merge without requesting for code review.
Warning: Never commit your
.envfiles or share them publicly. They may contain sensitive information.
Create a local environment file in the root directory:
touch .env.localPaste the following in the file
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
CLERK_SECRET_KEY=
UPLOADTHING_TOKEN=
Message me to get the keys
Keep your environment variables secure and never share them in public repositories or discussions.
pnpm devOpen http://localhost:3000 with your browser to see the result.
To learn more, take a look at the following resources:
-
Next.js Documentation - learn about Next.js features and API.
-
Learn Next.js - an interactive Next.js tutorial. To learn more about the libraries we use:
-
shadcn Documentation - Learn about our UI component library
-
Clerk Documentation - Our authentication provider
-
UploadThing Documentation - File upload solution
Once the commits are merged to the main repository, they will be deployed on vercel at hukum-rose.vercel.app automatically.