These instructions will help you set up the project on your local machine for development and testing purposes.
-
Clone the repository:
git clone https://github.com/Rishon/personal-website cd personal-website -
Install the dependencies:
npm install/yarn install/bun install
Create a .env.development or .env.production file based on your environment and fill out the keys and values:
# Turnstile
NEXT_PUBLIC_TURNSTILE_SITE_KEY=
# Google Analytics
NEXT_PUBLIC_GA_ID=Create a .env file and fill out the keys and values:
# Server
PORT=3000
# SMTP
MAIL_HOST=
MAIL_USERNAME=
MAIL_PORT=465
MAIL_SECURE=true
MAIL_PASSWORD=
# Turnstile
TURNSTILE_SECRET_KEY=To start, run the following:
npm run dev / yarn run dev / bun run dev
To build, run the following:
npm run build / yarn run build / bun run build