Skip to content

Latest commit

Β 

History

History
45 lines (28 loc) Β· 1.21 KB

File metadata and controls

45 lines (28 loc) Β· 1.21 KB

Cube Worlds Game Project source code.

See ARCHITECTURE.md for a short system overview.

Usage

Follow these steps to set up and run bot locally:

  1. Environment Variables Setup

    Create an environment variables file by copying the provided example file:

    cp .env.example .env

    Open the newly created .env file and set the environment variables.

  2. Launching the Bot

    Install the required dependencies:

    npm install && npm --prefix src/frontend install

    Start the bot and frontend in watch mode (auto-reload when code changes):

    npm run dev

List of Available Commands

  • npm run dev β€” Start the bot and frontend in development mode.
  • npm run lint β€” Lint source code.
  • npm run format β€” Format source code.
  • npm run typecheck β€” Run type checking.
  • npm run update:all β€” Update all dependencies.