My personal website, built with Next.js, Tailwind CSS and deployed to Vercel.
You need to have a main dependency installed:
- Node.js LTS v18 (or any higher version)
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/dkshs.me.git
So after getting the repository, don't forget to install the project's local dependencies:
npm install
Create a .env
file similar to .env.example
.
- The required variable is the url to the formspree form.
- There are also variables for the site's SEO used in the
next.config.js
files and theMeta.tsx
component.
NEXT_PUBLIC_FORM_SEND_URL="https://formspree.io/f/<your_id>"
# SEO ENV
# ------------------------------------------------
# these variables are used for the site's SEO
# and are located in the `next.config.js` and `Meta.tsx` component
SITE_NAME=YOUR_SITE_NAME
SITE_LOCALE=en_US
SITE_BASEURL=http://localhost:3000 # in PROD put the URL of your project
To run the project locally, just run the command below:
npm run dev
- go to http://localhost:3000 to see the application.
This project is licensed under the MIT License - see the LICENSE file for details