Skip to content

Arkapravo-Ghosh/Ark-Portfolio

Repository files navigation

work-in-progress

Arkapravo Ghosh's Portfolio Website

GitHub license loc GitHub repo size GitHub last commit
Deployment

Check out the site at https://ark.ark-tech.in

Prebuilt Docker Image: Click Here

Build the project

Prerequisites

Steps

  • Clone the repository
git clone https://github.com/Arkapravo-Ghosh/Ark-Portfolio.git
  • Change directory to the project directory
cd Ark-Portfolio
  • Install dependencies
npm i
  • Run the project in developer mode
npm run dev
  • Or use this to expose the vite server to your network
npm run dev-network

The project will be running at http://localhost:3000/Ark-Portfolio/

  • Preview the production build
npm run preview
  • Build an optimized production build for deployment of the project
npm run build

The optimized production build will be available in the Ark-Portfolio directory, make sure to copy the Ark-Portfolio directory inside the root directory of your web server.

Deploy the project

Docker Compose

  • Create a directory
mkdir Ark-Portfolio
  • Go to the directory
cd Ark-Portfolio
  • Download the docker-compose.yml file
wget https://raw.githubusercontent.com/Arkapravo-Ghosh/Ark-Portfolio/main/docker-compose.yml
  • Run the project
docker compose up -d

The project will be running at http://localhost/Ark-Portfolio

To stop the project, run docker compose down in the same directory.