Skip to content

kylethebaker/r-place-clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

/r/place inspired real-time pixel placer

Requires redis for storing board data

Installation

npm install
npm run-script build

Configuration

  • Be sure that redis is running
  • Run nodejs utils/create-board <boardName> <numRows> to create a new empty board in redis under the key board:boardName. The board will be numRowsblocks wide and tall.
  • Modify src/server/config.js and put your newly created board name, the port you want to run websockets/http on, and any redis config options you need.
  • Modify src/client/main.js to specify the websockets port and how many pixels wide/tall you want a single block to display as.

Finally

  • Runnpm start
  • Load it in a browser
  • Click somewhere

About

Simple /r/place clone

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published