Skip to content

dkshs/dkshs.me

Repository files navigation

license mit

My personal website, built with Next.js, Tailwind CSS and deployed to Vercel.

Install and run the project

Global Dependencies

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.

Get the repository

git clone https://github.com/dkshs/dkshs.me.git

Local Dependencies

So after getting the repository, don't forget to install the project's local dependencies:

npm install

Environment variables

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 the Meta.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

Run the project

To run the project locally, just run the command below:

npm run dev

License

This project is licensed under the MIT License - see the LICENSE file for details