Skip to content

My personal website written using React (Next.js) and TailwindCSS

License

Notifications You must be signed in to change notification settings

MirekNguyen/mirekng-homepage

Repository files navigation

mirekng.com

homepage-preview homepage-preview

This is my personal website built with Next.js and TailwindCSS.

Please feel free to visit my website at mirekng.com to learn more about me and my projects.

Getting Started

Prerequisites

You will need npm or pnpm installed on your system.

Installation

  1. Clone the repository: git clone https://github.com/mireknguyen/mirekng-homepage.git
  2. Navigate to the project directory: cd mirekng-homepage

Running the server

1. Locally using pnpm

  1. Install dependencies: pnpm install
  2. Start the development server: pnpm run dev
  3. Open http://localhost:3000 in your browser

2. docker cli

  1. Run docker container:
docker run -p 3000:3000 mireknguyen/mirekng-homepage
  1. Open http://localhost:3000 in your browser

3. docker compose

  1. Run docker compose: docker-compose up -d
  2. Open http://localhost:3000 in your browser

Alternatively you can add this configuration to your server (Nginx proxy pass)

version: '3'

services:
  mirekng:
    image: mireknguyen/mirekng-homepage
    container_name: mirekng
    ports:
      - 3000:3000
    restart: unless-stopped