Skip to content

backtovedas/Leaderboard

 
 

Repository files navigation

Google Cloud Study Jam Leaderboard


Getting Started

Follow these instructions to get a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

You need to have Node.js (version 18.x or newer) and a package manager like npm, yarn, or pnpm installed on your system.

Installation & Setup

  1. Clone the repository: Open your terminal and run the following command to clone the project to your local machine. Replace github-link-url with the actual URL of your Git repository.

    git clone https://github.com/shivjeet1/Leaderboard.git
  2. Navigate to the project directory:

    cd Leaderboard/
  3. Install dependencies: Use your preferred package manager to install the project's dependencies.

    • Using npm:
      npm install
    • Using yarn:
      yarn install
    • Using pnpm:
      pnpm install
  4. Start the development server: This command will start the Vite development server, typically on http://localhost:5173.

    • Using npm:
      npm run dev
    • Using yarn:
      yarn dev
    • Using pnpm:
      pnpm dev

The Application should start running locally on your Device.

Using Docker to Containerize the Application

  1. Ensure you have Docker CLI installed.

  2. Follow same steps in Installation Guide

  3. Build your Docker Image using Dockerfile:

    docker build -t leaderboard:latest .
  4. Run your Docker Container:

    docker run -p 5173:5173 leaderboard:latest
  5. Stop your Docker Container:

    docker stop CONTAINER_NAME
  • CONTAINER_NAME is the name of the container which can be found using 'docker ps' or 'docker ps -a'

About

Google Cloud Study Jam Leaderboard

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 51.9%
  • CSS 46.2%
  • HTML 1.3%
  • Dockerfile 0.6%