A dynamic blog using markdown with Next.Js.
DkBlog is a project using Next.Js to create a dynamic blog with markdown.
You need to have a main dependency installed:
Do you use nvm
? Then you can run nvm install
in the project folder to install and use the most appropriate version of Node.js.
git clone https://github.com/dkshs/dkblog.git
So after getting the repository, don't forget to install the project's local dependencies:
pnpm install
Create a .env
file similar to .env.example
.
Change Clerk variables according to your project.
# ...
# Clerk Keys
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY="YOUR_CLERK_PUBLISHABLE_KEY"
CLERK_SECRET_KEY="YOUR_CLERK_SECRET_KEY"
# Only PROD
CLERK_WEBHOOK_SIGNING_SECRET="YOUR_CLERK_WEBHOOK_SIGNING_SECRET"
# Clerk Routes
NEXT_PUBLIC_CLERK_SIGN_IN_URL="/sign-in"
NEXT_PUBLIC_CLERK_SIGN_UP_URL="/sign-up"
NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL="/"
NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL="/"
# ...
To run the project locally, just run the command below:
pnpm run dev
This project is licensed under the MIT License - see the LICENSE file for details