Skip to content
/ Rustle Public
generated from Eoic/TypescriptViteTemplate

Create and engage in discussions to grow the infinite virtual forest.

Notifications You must be signed in to change notification settings

Eoic/Rustle

Repository files navigation

Rustle

Create and engage in real-time discussions to grow the infinite virtual forest. While of potentially little practical value, this is an experiment on applying various networking-related solutions such as real-time chat, multiplayer cursors, infinite grid, spatial partitioning (for network event processing in visible area), and so on.

Development

Client

  1. Install dependencies:
    npm ci
    
  2. Copy .env.example to .env and set the required environment variables.
  3. Start the development server:
    npm run dev
    
  4. By default, the client runs on http://127.0.0.1:5173/.

See package.json for linting and build commands.

Server

  1. Change the directory to server/.
  2. Create a virtual environment and install dependencies:
    python -m venv .venv
    . .venv/bin/activate
    pip install -r requirements.txt
    
  3. Run the server:
    ./run.sh
    
  4. By default, the server runs on http://127.0.0.1:8000/.