Player Zero

Overview

Player Zero is a landing for https://readyplayer.me

Prerequisites

  • Node.js (v20.15.1+)
  • npm or yarn

Installation

  1. Clone the repository:
    git clone https://github.com/dergachevm/player-zero.git
  2. Navigate to the project directory:
    cd player-zero
  3. Install the dependencies:
    npm install

Environment Setup

  1. Copy the example environment file:

    cp .env.example .env
  2. Update .env with the appropriate configuration values.

  3. Add port in .env file if required

PORT=3005

Running the Application

Start the development server:

npm start

Deploy on production

Build the static assets

npm run build

To launch in production mode with server to use Sendgrid Install pm2 globally

npm install pm2 -g

Run server

pm2 start ecosystem.config.cjs